| 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
)
Function Authenticate (
deviceName As String,
deviceSecret As String,
Optional authMethod As AuthenticationMethod = AuthenticationMethod.Any
) As IPrincipal
IPrincipal^ Authenticate(
String^ deviceName,
String^ deviceSecret,
AuthenticationMethod authMethod = AuthenticationMethod::Any
)
abstract Authenticate :
deviceName : string *
deviceSecret : string *
?authMethod : AuthenticationMethod
(* Defaults:
let _authMethod = defaultArg authMethod AuthenticationMethod.Any
*)
-> IPrincipal
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:
IPrincipalReturns the authenticated device principal.
See Also