Share via


IAssemblyAuthenticationContext.AcquireToken Method

Definition

public:
 System::String ^ AcquireToken(System::String ^ authority, System::String ^ resource, Microsoft::Xrm::Sdk::AuthenticationType authenticationType);
public string AcquireToken (string authority, string resource, Microsoft.Xrm.Sdk.AuthenticationType authenticationType);
abstract member AcquireToken : string * string * Microsoft.Xrm.Sdk.AuthenticationType -> string
Public Function AcquireToken (authority As String, resource As String, authenticationType As AuthenticationType) As String

Parameters

authority
String
resource
String
authenticationType
AuthenticationType

Returns

Applies to