Click or drag to resize

IDeviceIdentityProviderServiceAuthenticate Method

Authenticates the specified device identifier.

Namespace:  SanteDB.Core.Security.Services
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax
IPrincipal Authenticate(
	string deviceName,
	string deviceSecret,
	AuthenticationMethod authMethod = AuthenticationMethod.Any
)

Parameters

deviceName
Type: SystemString
The device identifier.
deviceSecret
Type: SystemString
The device secret.
authMethod (Optional)
Type: SanteDB.Core.Security.ServicesAuthenticationMethod
Identifies the allowed authentication methods

Return Value

Type: IPrincipal
Returns the authenticated device principal.
See Also