IServiceConfiguration<TService>.AuthenticateDevice Method (ClientCredentials)
Applies To: Dynamics CRM 2015
Authenticates a registered device against Microsoft account.
Namespace: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
SecurityTokenResponse AuthenticateDevice(
ClientCredentials clientCredentials
)
SecurityTokenResponse^ AuthenticateDevice(
ClientCredentials^ clientCredentials
)
abstract AuthenticateDevice :
clientCredentials:ClientCredentials -> SecurityTokenResponse
Function AuthenticateDevice (
clientCredentials As ClientCredentials
) As SecurityTokenResponse
Parameters
clientCredentials
Type: System.ServiceModel.Description.ClientCredentialsType: ClientCredentials. Specifies a client credential instance.
Return Value
Type: Microsoft.Xrm.Sdk.Client.SecurityTokenResponse
Type: SecurityTokenResponse
The security token response.
Remarks
The UserName.UserName and UserName.Password properties of the credential must be populated with a device name and password.
See Also
IServiceConfiguration<TService> Interface
Microsoft.Xrm.Sdk.Client Namespace
Helper code: DeviceIdManager class
Return to top
© 2016 Microsoft. All rights reserved. Copyright