AzureBotUserAuthorization Constructors

Definition

Overloads

AzureBotUserAuthorization(String, IStorage, IConnections, OAuthSettings, ILogger)

Initializes the class

public AzureBotUserAuthorization(string name, Microsoft.Agents.Storage.IStorage storage, Microsoft.Agents.Authentication.IConnections connections, Microsoft.Agents.Builder.UserAuth.TokenService.OAuthSettings settings, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Agents.Builder.UserAuth.TokenService.AzureBotUserAuthorization : string * Microsoft.Agents.Storage.IStorage * Microsoft.Agents.Authentication.IConnections * Microsoft.Agents.Builder.UserAuth.TokenService.OAuthSettings * Microsoft.Extensions.Logging.ILogger -> Microsoft.Agents.Builder.UserAuth.TokenService.AzureBotUserAuthorization
Public Sub New (name As String, storage As IStorage, connections As IConnections, settings As OAuthSettings, Optional logger As ILogger = Nothing)

Parameters

name
String

The authentication name.

storage
IStorage

The storage to use.

connections
IConnections

The connections to use.

settings
OAuthSettings

The settings to initialize the class

logger
ILogger

Optional logger.

Applies to

AzureBotUserAuthorization(String, IStorage, IConnections, IConfigurationSection, ILogger)

Required constructor for UserAuthorizationDispatcher.

public AzureBotUserAuthorization(string name, Microsoft.Agents.Storage.IStorage storage, Microsoft.Agents.Authentication.IConnections connections, Microsoft.Extensions.Configuration.IConfigurationSection configurationSection, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Agents.Builder.UserAuth.TokenService.AzureBotUserAuthorization : string * Microsoft.Agents.Storage.IStorage * Microsoft.Agents.Authentication.IConnections * Microsoft.Extensions.Configuration.IConfigurationSection * Microsoft.Extensions.Logging.ILogger -> Microsoft.Agents.Builder.UserAuth.TokenService.AzureBotUserAuthorization
Public Sub New (name As String, storage As IStorage, connections As IConnections, configurationSection As IConfigurationSection, Optional logger As ILogger = Nothing)

Parameters

name
String
storage
IStorage
connections
IConnections
configurationSection
IConfigurationSection
logger
ILogger

Applies to