ServiceProxy<TService>.AuthenticateCrossRealmCore Method ()
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Authenticates a user in a realm other than the realm that the Microsoft Dynamics 365 server is located in.
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
protected virtual SecurityTokenResponse AuthenticateCrossRealmCore()
Protected Overridable Function AuthenticateCrossRealmCore As SecurityTokenResponse
A security token response.
This method will attempt to authenticate the home realm, then use the corresponding security token to authenticate to the Microsoft Dynamics 365 realm STS (Security Token Service). In addition to the normal client credential requirements, the homeRealmUri constructor parameter is expected to be set in the call to the constructor.
The returned SecurityTokenResponse should be the security token that can be used to authenticate against the Microsoft Dynamics 365 server realm STS.
This method may be overridden in the case that home realm authentication requires multiple hops, which is not supported by this call.
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright