Click or drag to resize

UpstreamDeviceIdentityProviderAuthenticate Method

Authenticates the specified device identifier.

Namespace: SanteDB.Client.Upstream.Security
Assembly: SanteDB.Client (in SanteDB.Client.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntax
public IPrincipal Authenticate(
	string deviceName,
	string deviceSecret,
	AuthenticationMethod authMethod = AuthenticationMethod.Any
)

Parameters

deviceName  String
The device identifier.
deviceSecret  String
The device secret.
authMethod  AuthenticationMethod  (Optional)
Identifies the allowed authentication methods

Return Value

IPrincipal
Returns the authenticated device principal.

Implements

IDeviceIdentityProviderServiceAuthenticate(String, String, AuthenticationMethod)
See Also