Click or drag to resize

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
)

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