 | OAuthClientCoreGetPrincipal Method |
Namespace: SanteDB.Client.OAuthAssembly: SanteDB.Client (in SanteDB.Client.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntaxprotected virtual IClaimsPrincipal GetPrincipal(
OAuthTokenRequest request,
IEnumerable<IClaim> clientClaimAssertions = null
)
Protected Overridable Function GetPrincipal (
request As OAuthTokenRequest,
Optional clientClaimAssertions As IEnumerable(Of IClaim) = Nothing
) As IClaimsPrincipal
protected:
virtual IClaimsPrincipal^ GetPrincipal(
OAuthTokenRequest^ request,
IEnumerable<IClaim^>^ clientClaimAssertions = nullptr
)
abstract GetPrincipal :
request : OAuthTokenRequest *
?clientClaimAssertions : IEnumerable<IClaim>
(* Defaults:
let _clientClaimAssertions = defaultArg clientClaimAssertions null
*)
-> IClaimsPrincipal
override GetPrincipal :
request : OAuthTokenRequest *
?clientClaimAssertions : IEnumerable<IClaim>
(* Defaults:
let _clientClaimAssertions = defaultArg clientClaimAssertions null
*)
-> IClaimsPrincipal 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
IClaimsPrincipalThe
IClaimsPrincipal which was generated from the token response from the server
See Also