Share via


CertificateGovernmentAppCredentials Class

Definition

CertificateGovAppCredentials auth implementation for Gov Cloud.

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

Constructors

CertificateGovernmentAppCredentials(CertificateAppCredentialsOptions)

Initializes a new instance of the CertificateGovernmentAppCredentials class.

CertificateGovernmentAppCredentials(X509Certificate2, Boolean, String, String, HttpClient, ILogger)

Initializes a new instance of the CertificateGovernmentAppCredentials class.

CertificateGovernmentAppCredentials(X509Certificate2, String, String, HttpClient, ILogger)

Initializes a new instance of the CertificateGovernmentAppCredentials class.

CertificateGovernmentAppCredentials(X509Certificate2, String, String, String, Boolean, HttpClient, ILogger)

Initializes a new instance of the CertificateGovernmentAppCredentials class.

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)
DefaultChannelAuthTenant

Gets DefaultChannelAuthTenant.

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)
OAuthEndpoint

Gets the OAuth endpoint to use.

(Inherited from AppCredentials)
OAuthScope

Gets the OAuth scope to use.

(Inherited from AppCredentials)
ToChannelFromBotLoginUrlTemplate

Gets ToChannelFromBotLoginUrlTemplate.

ToChannelFromBotOAuthScope

Gets ToChannelFromBotOAuthScope.

ValidateAuthority

Gets a value indicating whether to validate the Authority.

(Inherited from AppCredentials)

Methods

BuildIAuthenticator()

Builds the lazy IAuthenticator to be used for token acquisition.

(Inherited from CertificateAppCredentials)
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