Click or drag to resize

OAuthClientCoreAuthenticateApp Method

Create an authenticated IClaimsPrincipal using a client credential

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

Parameters

clientId  String
The client identifier to send to the oauth server
clientSecret  String  (Optional)
The provided client secret
clientClaimAssertions  IEnumerableIClaim  (Optional)
The client claim assertions
scopes  IEnumerableString  (Optional)
The scopes for request

Return Value

IClaimsPrincipal
The authenticated claims principal

Implements

IOAuthClientAuthenticateApp(String, String, IEnumerableIClaim, IEnumerableString)
See Also