ManagedIdentityAppCredentials Class

Definition

Managed Service Identity auth implementation.

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

Constructors

ManagedIdentityAppCredentials(String, String, HttpClient, ILogger)

Initializes a new instance of the ManagedIdentityAppCredentials class. Managed Identity for AAD credentials auth and caching.

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.

(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)
ToChannelFromBotLoginUrlTemplate

Gets ToChannelFromBotLoginUrlTemplate.

(Inherited from AppCredentials)
ToChannelFromBotOAuthScope

Gets ToChannelFromBotOAuthScope.

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

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