 | UpstreamDeviceIdentityProviderAuthenticate Method |
Authenticates the specified device identifier.
Namespace: SanteDB.Client.Upstream.SecurityAssembly: SanteDB.Client (in SanteDB.Client.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntaxpublic IPrincipal Authenticate(
string deviceName,
string deviceSecret,
AuthenticationMethod authMethod = AuthenticationMethod.Any
)
Public Function Authenticate (
deviceName As String,
deviceSecret As String,
Optional authMethod As AuthenticationMethod = AuthenticationMethod.Any
) As IPrincipal
public:
virtual IPrincipal^ Authenticate(
String^ deviceName,
String^ deviceSecret,
AuthenticationMethod authMethod = AuthenticationMethod::Any
) sealed
abstract Authenticate :
deviceName : string *
deviceSecret : string *
?authMethod : AuthenticationMethod
(* Defaults:
let _authMethod = defaultArg authMethod AuthenticationMethod.Any
*)
-> IPrincipal
override Authenticate :
deviceName : string *
deviceSecret : string *
?authMethod : AuthenticationMethod
(* Defaults:
let _authMethod = defaultArg authMethod AuthenticationMethod.Any
*)
-> IPrincipal Parameters
- deviceName String
- The device identifier.
- deviceSecret String
- The device secret.
- authMethod AuthenticationMethod (Optional)
- Identifies the allowed authentication methods
Return Value
IPrincipalReturns the authenticated device principal.
Implements
IDeviceIdentityProviderServiceAuthenticate(String, String, AuthenticationMethod)
See Also