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

 

Updated: November 29, 2016

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)

SecurityTokenResponse AuthenticateCrossRealm(
	SecurityToken securityToken,
	string appliesTo,
	Uri crossRealmSts
)

Parameters

securityToken
Type: System.IdentityModel.Tokens.SecurityToken

Type: SecurityToken. Specifies a security token issued from an identity provider.

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.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Show: