Click or drag to resize

OAuthClientCoreGetPrincipal Method

Gets a IClaimsPrincipal using the request provided

Namespace: SanteDB.Client.OAuth
Assembly: SanteDB.Client (in SanteDB.Client.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntax
protected virtual IClaimsPrincipal GetPrincipal(
	OAuthTokenRequest request,
	IEnumerable<IClaim> clientClaimAssertions = null
)

Parameters

request  OAuthTokenRequest
The oauth token request to be sent to the server
clientClaimAssertions  IEnumerableIClaim  (Optional)
Any claim assertions which are to be sent with the request

Return Value

IClaimsPrincipal
The IClaimsPrincipal which was generated from the token response from the server
See Also