Click or drag to resize

IOAuthClientAuthenticateApp Method

Authenticate an application given an authenticated device principal.

Namespace: SanteDB.Client.Services
Assembly: SanteDB.Client (in SanteDB.Client.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntax
IClaimsPrincipal AuthenticateApp(
	string clientId,
	string clientSecret = null,
	IEnumerable<IClaim> clientClaimAssertions = null,
	IEnumerable<string> scopes = null
)

Parameters

clientId  String
The client_id to pass to the oauth service
clientSecret  String  (Optional)
The client secret to pass to the oauth service
clientClaimAssertions  IEnumerableIClaim  (Optional)

[Missing <param name="clientClaimAssertions"/> documentation for "M:SanteDB.Client.Services.IOAuthClient.AuthenticateApp(System.String,System.String,System.Collections.Generic.IEnumerable{SanteDB.Core.Security.Claims.IClaim},System.Collections.Generic.IEnumerable{System.String})"]

scopes  IEnumerableString  (Optional)
Scopes that are being demanded

Return Value

IClaimsPrincipal
The claims principal if the session was authenticated
See Also