Partager via


IServiceConfiguration<TService>.AuthenticateCrossRealm Method (SecurityToken, String, Uri)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Authenticates against a remote Secure Token Service (STS) using a security token retrieved from an identity provider (when in federation mode).

Namespace:   Microsoft.Xrm.Sdk.Client
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

SecurityTokenResponse AuthenticateCrossRealm(
    SecurityToken securityToken,
    string appliesTo,
    Uri crossRealmSts
)
Function AuthenticateCrossRealm (
    securityToken As SecurityToken,
    appliesTo As String,
    crossRealmSts As Uri
) As SecurityTokenResponse

Parameters

  • appliesTo
    Type: System.String

    Type: String. Specifies the identifier of the STS to authenticate on behalf of.

  • crossRealmSts
    Type: System.Uri

    Type: URI. Specifies the URI of the cross realm STS metadata endpoint.

Return Value

Type: Microsoft.Xrm.Sdk.Client.SecurityTokenResponse

Type: SecurityTokenResponse
The security token response.

See Also

AuthenticateCrossRealm Overload
IServiceConfiguration<TService> Interface
Microsoft.Xrm.Sdk.Client Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright