IServiceConfiguration<TService>.AuthenticateCrossRealm Method (SecurityToken, String, Uri)
Applies To: Dynamics CRM 2015
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
)
SecurityTokenResponse^ AuthenticateCrossRealm(
SecurityToken^ securityToken,
String^ appliesTo,
Uri^ crossRealmSts
)
abstract AuthenticateCrossRealm :
securityToken:SecurityToken *
appliesTo:string *
crossRealmSts:Uri -> SecurityTokenResponse
Function AuthenticateCrossRealm (
securityToken As SecurityToken,
appliesTo As String,
crossRealmSts As Uri
) As SecurityTokenResponse
Parameters
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.
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
© 2016 Microsoft. All rights reserved. Copyright