MicrosoftGovernmentAppCredentials Class

Definition

MicrosoftGovernmentAppCredentials auth implementation.

public class MicrosoftGovernmentAppCredentials : Microsoft.Bot.Connector.Authentication.MicrosoftAppCredentials
type MicrosoftGovernmentAppCredentials = class
    inherit MicrosoftAppCredentials
Public Class MicrosoftGovernmentAppCredentials
Inherits MicrosoftAppCredentials
Inheritance
Microsoft.Rest.ServiceClientCredentials
MicrosoftGovernmentAppCredentials

Constructors

MicrosoftGovernmentAppCredentials(String, String, HttpClient)

Initializes a new instance of the MicrosoftGovernmentAppCredentials class.

MicrosoftGovernmentAppCredentials(String, String, HttpClient, ILogger)

Initializes a new instance of the MicrosoftGovernmentAppCredentials class.

MicrosoftGovernmentAppCredentials(String, String, HttpClient, ILogger, String)

Initializes a new instance of the MicrosoftGovernmentAppCredentials class.

MicrosoftGovernmentAppCredentials(String, String, String, HttpClient, ILogger, String)

Initializes a new instance of the MicrosoftGovernmentAppCredentials class.

Fields

Empty

An empty set of credentials.

MicrosoftAppIdKey

The configuration property for the Microsoft app ID.

(Inherited from MicrosoftAppCredentials)
MicrosoftAppPasswordKey

The configuration property for the Microsoft app Password.

(Inherited from MicrosoftAppCredentials)
MicrosoftAppTenantIdKey

The configuration property for Tenant ID of the Azure AD tenant.

(Inherited from MicrosoftAppCredentials)
MicrosoftAppTypeKey

The configuration property for the App type of the bot -- MultiTenant, SingleTenant, or, MSI.

(Inherited from MicrosoftAppCredentials)

Properties

AuthTenant

Gets or sets the channel auth token tenant for this credential.

(Inherited from AppCredentials)
ChannelAuthTenant

Gets or sets tenant to be used for channel authentication.

(Inherited from AppCredentials)
CustomHttpClient

Gets or sets the channel auth token tenant for this credential.

(Inherited from AppCredentials)
Logger

Gets or sets the channel auth token tenant for this credential.

(Inherited from AppCredentials)
MicrosoftAppId

Gets or sets the Microsoft app ID for this credential.

(Inherited from AppCredentials)
MicrosoftAppPassword

Gets or sets the Microsoft app password for this credential.

(Inherited from MicrosoftAppCredentials)
OAuthEndpoint

Gets the OAuth endpoint to use.

OAuthScope

Gets the OAuth scope to use.

(Inherited from AppCredentials)
ValidateAuthority

Gets a value indicating whether to validate the Authority.

(Inherited from AppCredentials)

Methods

BuildAuthenticator()

Builds the lazy AdalAuthenticator to be used for token acquisition.

(Inherited from MicrosoftAppCredentials)
BuildIAuthenticator()

Builds the lazy IAuthenticator to be used for token acquisition.

(Inherited from AppCredentials)
GetTokenAsync(Boolean)

Gets an OAuth access token.

(Inherited from AppCredentials)
ProcessHttpRequestAsync(HttpRequestMessage, CancellationToken)

Apply the credentials to the HTTP request.

(Inherited from AppCredentials)

Applies to