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)
SecurityTokenResponse AuthenticateCrossRealm(
SecurityToken securityToken,
string appliesTo,
Uri crossRealmSts
)
Function AuthenticateCrossRealm (
securityToken As SecurityToken,
appliesTo As String,
crossRealmSts As Uri
) As SecurityTokenResponse
securityToken
Type: System.IdentityModel.Tokens.SecurityTokenType: SecurityToken. Specifies a security token issued from an identity provider.
appliesTo
Type: System.StringType: String. Specifies the identifier of the STS to authenticate on behalf of.
crossRealmSts
Type: System.UriType: URI. Specifies the URI of the cross realm STS metadata endpoint.
Type: Microsoft.Xrm.Sdk.Client.SecurityTokenResponse
Type: SecurityTokenResponse
The security token response.
AuthenticateCrossRealm Overload
IServiceConfiguration<TService> Interface
Microsoft.Xrm.Sdk.Client Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright