다음을 통해 공유


IServiceConfiguration<TService>.AuthenticateDevice Method

Definition

Authenticates a registered device against Microsoft account.

public:
 Microsoft::Xrm::Sdk::Client::SecurityTokenResponse ^ AuthenticateDevice(System::ServiceModel::Description::ClientCredentials ^ clientCredentials);
public Microsoft.Xrm.Sdk.Client.SecurityTokenResponse AuthenticateDevice (System.ServiceModel.Description.ClientCredentials clientCredentials);
abstract member AuthenticateDevice : System.ServiceModel.Description.ClientCredentials -> Microsoft.Xrm.Sdk.Client.SecurityTokenResponse
Public Function AuthenticateDevice (clientCredentials As ClientCredentials) As SecurityTokenResponse

Parameters

clientCredentials
ClientCredentials

Specifies a client credential instance.

Returns

The security token response.

Remarks

The UserName.UserName and UserName.Password properties of the credential must be populated with a device name and password.

Applies to