Click or drag to resize

AdoApplicationIdentityProviderAuthenticate(String, String) Method

Authenticates the specified application using the application id an secret

Namespace: SanteDB.Persistence.Data.Services
Assembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntax
public IPrincipal Authenticate(
	string applicationId,
	string applicationSecret
)

Parameters

applicationId  String
The application public id
applicationSecret  String
The secret passphrase for the application

Return Value

IPrincipal
The principal if authentication is successful

Implements

IApplicationIdentityProviderServiceAuthenticate(String, String)
Exceptions
ExceptionCondition
AuthenticationExceptionWhen authentication fails
See Also