CertificateAppCredentials Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
CertificateAppCredentials auth implementation and cache.
public class CertificateAppCredentials : Microsoft.Bot.Connector.Authentication.AppCredentials
type CertificateAppCredentials = class
inherit AppCredentials
Public Class CertificateAppCredentials
Inherits AppCredentials
- Inheritance
Constructors
| CertificateAppCredentials(CertificateAppCredentialsOptions) |
Initializes a new instance of the CertificateAppCredentials class. |
| CertificateAppCredentials(ClientAssertionCertificate, Boolean, String, HttpClient, ILogger) |
Initializes a new instance of the CertificateAppCredentials class. |
| CertificateAppCredentials(ClientAssertionCertificate, String, HttpClient, ILogger) |
Initializes a new instance of the CertificateAppCredentials class. |
| CertificateAppCredentials(X509Certificate2, Boolean, String, String, HttpClient, ILogger) |
Initializes a new instance of the CertificateAppCredentials class. |
| CertificateAppCredentials(X509Certificate2, String, String, HttpClient, ILogger) |
Initializes a new instance of the CertificateAppCredentials 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) |
| 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) |
| 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. |
| 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) |