| OAuthDeviceIdentityProviderAuthenticate Method |
Authenticate the specified device
Namespace:
SanteDB.DisconnectedClient.Security
Assembly:
SanteDB.DisconnectedClient.Core (in SanteDB.DisconnectedClient.Core.dll) Version: 2.2.1
Syntax public IPrincipal Authenticate(
string deviceId,
string deviceSecret,
AuthenticationMethod authMethod = AuthenticationMethod.Any
)
Public Function Authenticate (
deviceId As String,
deviceSecret As String,
Optional authMethod As AuthenticationMethod = AuthenticationMethod.Any
) As IPrincipal
public:
virtual IPrincipal^ Authenticate(
String^ deviceId,
String^ deviceSecret,
AuthenticationMethod authMethod = AuthenticationMethod::Any
) sealed
abstract Authenticate :
deviceId : string *
deviceSecret : string *
?authMethod : AuthenticationMethod
(* Defaults:
let _authMethod = defaultArg authMethod AuthenticationMethod.Any
*)
-> IPrincipal
override Authenticate :
deviceId : string *
deviceSecret : string *
?authMethod : AuthenticationMethod
(* Defaults:
let _authMethod = defaultArg authMethod AuthenticationMethod.Any
*)
-> IPrincipal
Parameters
- deviceId
- Type: SystemString
[Missing <param name="deviceId"/> documentation for "M:SanteDB.DisconnectedClient.Security.OAuthDeviceIdentityProvider.Authenticate(System.String,System.String,SanteDB.Core.Security.Services.AuthenticationMethod)"]
- deviceSecret
- Type: SystemString
[Missing <param name="deviceSecret"/> documentation for "M:SanteDB.DisconnectedClient.Security.OAuthDeviceIdentityProvider.Authenticate(System.String,System.String,SanteDB.Core.Security.Services.AuthenticationMethod)"]
- authMethod (Optional)
- Type: SanteDB.Core.Security.ServicesAuthenticationMethod
[Missing <param name="authMethod"/> documentation for "M:SanteDB.DisconnectedClient.Security.OAuthDeviceIdentityProvider.Authenticate(System.String,System.String,SanteDB.Core.Security.Services.AuthenticationMethod)"]
Return Value
Type:
IPrincipal[Missing <returns> documentation for "M:SanteDB.DisconnectedClient.Security.OAuthDeviceIdentityProvider.Authenticate(System.String,System.String,SanteDB.Core.Security.Services.AuthenticationMethod)"]
Implements
IDeviceIdentityProviderServiceAuthenticate(String, String, AuthenticationMethod)See Also