IServiceConfiguration<TService>.Authenticate Method (ClientCredentials, SecurityTokenResponse)
Applies To: Dynamics CRM 2015
Authenticates against Microsoft account using client credentials and a security token response.
Namespace: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
SecurityTokenResponse Authenticate(
ClientCredentials clientCredentials,
SecurityTokenResponse deviceSecurityToken
)
SecurityTokenResponse^ Authenticate(
ClientCredentials^ clientCredentials,
SecurityTokenResponse^ deviceSecurityToken
)
abstract Authenticate :
clientCredentials:ClientCredentials *
deviceSecurityToken:SecurityTokenResponse -> SecurityTokenResponse
Function Authenticate (
clientCredentials As ClientCredentials,
deviceSecurityToken As SecurityTokenResponse
) As SecurityTokenResponse
Parameters
clientCredentials
Type: System.ServiceModel.Description.ClientCredentialsType: ClientCredentials. Specifies a client credential instance containing UserName credentials where the UserName and Password properties are set.
deviceSecurityToken
Type: Microsoft.Xrm.Sdk.Client.SecurityTokenResponseType: SecurityTokenResponse. A security token response received from authenticating the user's device with Microsoft account.
Return Value
Type: Microsoft.Xrm.Sdk.Client.SecurityTokenResponse
Type: SecurityTokenResponse
The security token response.
See Also
Authenticate Overload
IServiceConfiguration<TService> Interface
Microsoft.Xrm.Sdk.Client Namespace
Return to top
© 2016 Microsoft. All rights reserved. Copyright