IServiceConfiguration Interface
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Represents a configured Microsoft Dynamics 365 service.
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
| Name | Description | |
|---|---|---|
![]() | Authenticate | Authenticates against the trusted Microsoft Dynamics 365 Secure Token Service using client credentials. |
![]() | Authenticate | Authenticates against Microsoft account using client credentials and a security token response. |
![]() | Authenticate | Authenticates against the trusted Microsoft Dynamics 365 Secure Token Service using a security token. |
![]() | AuthenticateCrossRealm | Authenticates against a remote Secure Token Service (STS) using client credentials. |
![]() | AuthenticateCrossRealm | Authenticates against a remote Secure Token Service (STS) using a security token retrieved from an identity provider (when in federation mode). |
![]() | AuthenticateDevice | Authenticates a registered device against Microsoft account. |
![]() | CreateChannelFactory | Creates a client factory that uses the default Kerberos credentials. |
![]() | CreateChannelFactory | Creates a WCF channel factory with a specified type of authentication. |
![]() | CreateChannelFactory | Creates a WCF channel factory that supports passing the client credentials, regardless of whether in federation authentication mode or not. |
![]() | CreateChannelFactory | For internal use only. |
![]() | GetIdentityProvider | Returns the identity provider used for a specified user when accessing a service. |
Instances of the IServiceConfiguration and IServiceManagement interfaces are basically interchangeable, the only real difference being that the IServiceManagement interface exposes support for the AuthenticationCredentials class and a single Authenticate call that covers most scenarios.
For best performance, create an instance of the IServiceConfiguration interface only one time per client session and re-use that instance as necessary.
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright

