Click or drag to resize

OAuthServiceBehaviorGetSessionFromIdToken Method

Alternate resolution method for TokenAuthorizationAccessBehavior when the token type is not bearer.

Namespace: SanteDB.Rest.OAuth.Rest
Assembly: SanteDB.Rest.OAuth (in SanteDB.Rest.OAuth.dll) Version: 3.0.2081-alpha+19f573cdc8c56fbc278c5e41a734f011a9baa699
Syntax
protected virtual ISession GetSessionFromIdToken(
	string idToken
)

Parameters

idToken  String
The JWT as a string to extract a session from.

Return Value

ISession
The related ISession session for the idtoken.
See Also