DiscoveryService.CreateUserTokenResponse Method (CrmConnection, IServiceConfiguration<IDiscoveryService>)
Applies To: Dynamics CRM 2013
Creates a user token response.
Namespace: Microsoft.Xrm.Client.Services
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
protected virtual SecurityTokenResponse CreateUserTokenResponse(
CrmConnection connection,
IServiceConfiguration<IDiscoveryService> config
)
protected:
virtual SecurityTokenResponse^ CreateUserTokenResponse(
CrmConnection^ connection,
IServiceConfiguration<IDiscoveryService^>^ config
)
abstract CreateUserTokenResponse :
connection:CrmConnection *
config:IServiceConfiguration<IDiscoveryService> -> SecurityTokenResponse
override CreateUserTokenResponse :
connection:CrmConnection *
config:IServiceConfiguration<IDiscoveryService> -> SecurityTokenResponse
Protected Overridable Function CreateUserTokenResponse (
connection As CrmConnection,
config As IServiceConfiguration(Of IDiscoveryService)
) As SecurityTokenResponse
Parameters
connection
Type: Microsoft.Xrm.Client.CrmConnectionType: CrmConnection. The connection.
config
Type: Microsoft.Xrm.Sdk.Client.IServiceConfiguration<IDiscoveryService>Type: IServiceConfiguration<TService><IDiscoveryService>. The service configuration.
Return Value
Type: Microsoft.Xrm.Sdk.Client.SecurityTokenResponse
Type: SecurityTokenResponse
The user token response.
See Also
DiscoveryService Class
Microsoft.Xrm.Client.Services Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Return to top