Click or drag to resize

OAuthServiceBehaviorEstablishUserSession Method

Create a token response

Namespace: SanteDB.Rest.OAuth.Rest
Assembly: SanteDB.Rest.OAuth (in SanteDB.Rest.OAuth.dll) Version: 3.0.2081-alpha+19f573cdc8c56fbc278c5e41a734f011a9baa699
Syntax
protected ISession EstablishUserSession(
	IPrincipal primaryPrincipal,
	IClaimsIdentity clientIdentity,
	IClaimsIdentity deviceIdentity,
	List<string> scopes,
	IEnumerable<IClaim> additionalClaims
)

Parameters

primaryPrincipal  IPrincipal

[Missing <param name="primaryPrincipal"/> documentation for "M:SanteDB.Rest.OAuth.Rest.OAuthServiceBehavior.EstablishUserSession(System.Security.Principal.IPrincipal,SanteDB.Core.Security.Claims.IClaimsIdentity,SanteDB.Core.Security.Claims.IClaimsIdentity,System.Collections.Generic.List{System.String},System.Collections.Generic.IEnumerable{SanteDB.Core.Security.Claims.IClaim})"]

clientIdentity  IClaimsIdentity

[Missing <param name="clientIdentity"/> documentation for "M:SanteDB.Rest.OAuth.Rest.OAuthServiceBehavior.EstablishUserSession(System.Security.Principal.IPrincipal,SanteDB.Core.Security.Claims.IClaimsIdentity,SanteDB.Core.Security.Claims.IClaimsIdentity,System.Collections.Generic.List{System.String},System.Collections.Generic.IEnumerable{SanteDB.Core.Security.Claims.IClaim})"]

deviceIdentity  IClaimsIdentity

[Missing <param name="deviceIdentity"/> documentation for "M:SanteDB.Rest.OAuth.Rest.OAuthServiceBehavior.EstablishUserSession(System.Security.Principal.IPrincipal,SanteDB.Core.Security.Claims.IClaimsIdentity,SanteDB.Core.Security.Claims.IClaimsIdentity,System.Collections.Generic.List{System.String},System.Collections.Generic.IEnumerable{SanteDB.Core.Security.Claims.IClaim})"]

scopes  ListString

[Missing <param name="scopes"/> documentation for "M:SanteDB.Rest.OAuth.Rest.OAuthServiceBehavior.EstablishUserSession(System.Security.Principal.IPrincipal,SanteDB.Core.Security.Claims.IClaimsIdentity,SanteDB.Core.Security.Claims.IClaimsIdentity,System.Collections.Generic.List{System.String},System.Collections.Generic.IEnumerable{SanteDB.Core.Security.Claims.IClaim})"]

additionalClaims  IEnumerableIClaim

[Missing <param name="additionalClaims"/> documentation for "M:SanteDB.Rest.OAuth.Rest.OAuthServiceBehavior.EstablishUserSession(System.Security.Principal.IPrincipal,SanteDB.Core.Security.Claims.IClaimsIdentity,SanteDB.Core.Security.Claims.IClaimsIdentity,System.Collections.Generic.List{System.String},System.Collections.Generic.IEnumerable{SanteDB.Core.Security.Claims.IClaim})"]

Return Value

ISession

[Missing <returns> documentation for "M:SanteDB.Rest.OAuth.Rest.OAuthServiceBehavior.EstablishUserSession(System.Security.Principal.IPrincipal,SanteDB.Core.Security.Claims.IClaimsIdentity,SanteDB.Core.Security.Claims.IClaimsIdentity,System.Collections.Generic.List{System.String},System.Collections.Generic.IEnumerable{SanteDB.Core.Security.Claims.IClaim})"]

See Also