TechNet
Export (0) Print
Expand All

IServiceManagement<TService> Interface

 

An interface which provides a simpler authentication experience.

Namespace:   Microsoft.Xrm.Sdk.Client
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

public interface IServiceManagement<TService>

Type Parameters

TService

Type: IDiscoveryService or IOrganizationService. Specifies a service type.

NameDescription
System_CAPS_pubpropertyAuthenticationType

Gets the type of authentication in use by the identity provider of the service.

System_CAPS_pubpropertyCrossRealmIssuerEndpoints

Gets the available endpoints of the user’s home realm identity provider.

System_CAPS_pubpropertyCurrentServiceEndpoint

Gets or sets the current endpoint in use by a service.

System_CAPS_pubpropertyIssuerEndpoints

Gets the available endpoints of the security token service (STS).

System_CAPS_pubpropertyPolicyConfiguration

Gets the policy configuration that identifies a Secure Token Service (STS).

NameDescription
System_CAPS_pubmethodAuthenticate(AuthenticationCredentials)

Authenticates the logged on user with the service.

System_CAPS_pubmethodCreateChannelFactory()

Creates a WCF channel factory that uses the default Kerberos credentials.

System_CAPS_pubmethodCreateChannelFactory(ClientAuthenticationType)

Creates a WCF channel factory with a specified type of authentication.

System_CAPS_pubmethodCreateChannelFactory(ClientCredentials)

Creates a WCF channel factory using specified client credentials.

System_CAPS_pubmethodCreateChannelFactory(TokenServiceCredentialType)

For internal use only.

System_CAPS_pubmethodGetIdentityProvider(String)

Returns the identity provider used for a specified user when accessing a service.

Instances of the IServiceConfiguration<TService> and IServiceManagement<TService> interfaces are basically interchangeable, the only real difference being that the IServiceManagement<TService> interface exposes support for the AuthenticationCredentials class and a single Authenticate call that covers most scenarios.

For best performance, create an instance of this interface only one time per client session and re-use that instance as necessary.

Return to top

Microsoft Dynamics CRM 2016 and CRM Online

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

Show:
© 2016 Microsoft