Click or drag to resize

OAuthClaimsPrincipal Constructor

Initializes a new instance of the OAuthClaimsPrincipal class.

Namespace: SanteDB.Client.OAuth
Assembly: SanteDB.Client (in SanteDB.Client.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntax
public OAuthClaimsPrincipal(
	string accessToken,
	SecurityToken idToken,
	string tokenType,
	string refreshToken,
	int expiresIn,
	List<IClaim> claims
)

Parameters

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