 | OAuthClaimsPrincipal Constructor |
Namespace: SanteDB.Client.OAuthAssembly: SanteDB.Client (in SanteDB.Client.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntaxpublic OAuthClaimsPrincipal(
string accessToken,
SecurityToken idToken,
string tokenType,
string refreshToken,
int expiresIn,
List<IClaim> claims
)
Public Sub New (
accessToken As String,
idToken As SecurityToken,
tokenType As String,
refreshToken As String,
expiresIn As Integer,
claims As List(Of IClaim)
)
public:
OAuthClaimsPrincipal(
String^ accessToken,
SecurityToken^ idToken,
String^ tokenType,
String^ refreshToken,
int expiresIn,
List<IClaim^>^ claims
)
new :
accessToken : string *
idToken : SecurityToken *
tokenType : string *
refreshToken : string *
expiresIn : int *
claims : List<IClaim> -> OAuthClaimsPrincipalParameters
- accessToken String
- The token to access the resource
- idToken SecurityToken
- The identity token
- tokenType String
- The type of identity token provided
- refreshToken String
- The token which can be used to extend this session
- expiresIn Int32
- The time when this principal is expired
- claims ListIClaim
- The claims attached to the principal
See Also