C# Class Microsoft.Identity.Client.ConfidentialClientApplication

ConfidentialClientApplication
Inheritance: AbstractClientApplication
Mostrar archivo Open project: AzureAD/microsoft-authentication-library-for-dotnet Class Usage Examples

Public Methods

Method Description
AcquireTokenByAuthorizationCodeAsync ( string scope, string authorizationCode ) : Task

AcquireTokenByAuthorizationCodeAsync

AcquireTokenByAuthorizationCodeAsync ( string scope, string authorizationCode, string policy ) : Task

AcquireTokenByAuthorizationCodeAsync

AcquireTokenForClient ( string scope, string policy ) : Task

AcquireTokenForClient

AcquireTokenOnBehalfOfAsync ( string scope, UserAssertion userAssertion ) : Task

AcquireTokenOnBehalfOfAsync

AcquireTokenOnBehalfOfAsync ( string scope, UserAssertion userAssertion, string authority, string policy ) : Task

AcquireTokenOnBehalfOfAsync

ConfidentialClientApplication ( string clientId, string redirectUri, ClientCredential clientCredential, TokenCache userTokenCache ) : System

ConfidentialClientApplication ( string authority, string clientId, string redirectUri, ClientCredential clientCredential, TokenCache userTokenCache ) : System

GetAuthorizationRequestUrlAsync ( string scope, string loginHint, string extraQueryParameters ) : Task

Gets URL of the authorize endpoint including the query parameters.

GetAuthorizationRequestUrlAsync ( string scope, string redirectUri, string loginHint, string extraQueryParameters, string additionalScope, string authority, string policy ) : Task

Gets URL of the authorize endpoint including the query parameters.

Private Methods

Method Description
AcquireTokenByAuthorizationCodeCommonAsync ( string authorizationCode, string scope, Uri redirectUri, string policy ) : Task
AcquireTokenForClientCommonAsync ( string scope, string policy ) : Task
AcquireTokenOnBehalfCommonAsync ( Authenticator authenticator, string scope, UserAssertion userAssertion, string policy ) : Task
GetHandlerData ( Authenticator authenticator, string scope, string policy, TokenCache cache ) : AuthenticationRequestParameters

Method Details

AcquireTokenByAuthorizationCodeAsync() public method

AcquireTokenByAuthorizationCodeAsync
public AcquireTokenByAuthorizationCodeAsync ( string scope, string authorizationCode ) : Task
scope string
authorizationCode string
return Task

AcquireTokenByAuthorizationCodeAsync() public method

AcquireTokenByAuthorizationCodeAsync
public AcquireTokenByAuthorizationCodeAsync ( string scope, string authorizationCode, string policy ) : Task
scope string
authorizationCode string
policy string
return Task

AcquireTokenForClient() public method

AcquireTokenForClient
public AcquireTokenForClient ( string scope, string policy ) : Task
scope string
policy string
return Task

AcquireTokenOnBehalfOfAsync() public method

AcquireTokenOnBehalfOfAsync
public AcquireTokenOnBehalfOfAsync ( string scope, UserAssertion userAssertion ) : Task
scope string
userAssertion UserAssertion
return Task

AcquireTokenOnBehalfOfAsync() public method

AcquireTokenOnBehalfOfAsync
public AcquireTokenOnBehalfOfAsync ( string scope, UserAssertion userAssertion, string authority, string policy ) : Task
scope string
userAssertion UserAssertion
authority string
policy string
return Task

ConfidentialClientApplication() public method

public ConfidentialClientApplication ( string clientId, string redirectUri, ClientCredential clientCredential, TokenCache userTokenCache ) : System
clientId string
redirectUri string
clientCredential ClientCredential
userTokenCache TokenCache
return System

ConfidentialClientApplication() public method

public ConfidentialClientApplication ( string authority, string clientId, string redirectUri, ClientCredential clientCredential, TokenCache userTokenCache ) : System
authority string
clientId string
redirectUri string
clientCredential ClientCredential
userTokenCache TokenCache
return System

GetAuthorizationRequestUrlAsync() public method

Gets URL of the authorize endpoint including the query parameters.
public GetAuthorizationRequestUrlAsync ( string scope, string loginHint, string extraQueryParameters ) : Task
scope string
loginHint string
extraQueryParameters string
return Task

GetAuthorizationRequestUrlAsync() public method

Gets URL of the authorize endpoint including the query parameters.
public GetAuthorizationRequestUrlAsync ( string scope, string redirectUri, string loginHint, string extraQueryParameters, string additionalScope, string authority, string policy ) : Task
scope string
redirectUri string
loginHint string
extraQueryParameters string
additionalScope string
authority string
policy string
return Task