Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Authenticates against the trusted Microsoft Dynamics 365 Secure Token Service using a security token.
Namespace:   Microsoft.Xrm.Sdk.Client
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
SecurityTokenResponse Authenticate(
    SecurityToken securityToken
)
Function Authenticate (
    securityToken As SecurityToken
) As SecurityTokenResponse
Parameters
- securityToken 
 Type: System.IdentityModel.Tokens.SecurityToken- Type: SecurityToken. A security token retrieved from an identity provider other than the trusted Microsoft Dynamics 365 Secure Token Service (when in federation mode). 
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
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright