ConnectorUserAuthorization Constructors
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.
Overloads
| Name | Description |
|---|---|
| ConnectorUserAuthorization(String, IConnections, OBOSettings, ILogger) |
Code-first constructor. |
| ConnectorUserAuthorization(String, IStorage, IConnections, IConfigurationSection, ILogger) |
Required constructor for the UserAuthorizationModuleLoader (when using IConfiguration) |
ConnectorUserAuthorization(String, IConnections, OBOSettings, ILogger)
Code-first constructor.
public ConnectorUserAuthorization(string name, Microsoft.Agents.Authentication.IConnections connections, Microsoft.Agents.Builder.UserAuth.OBOSettings settings, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Agents.Builder.UserAuth.Connector.ConnectorUserAuthorization : string * Microsoft.Agents.Authentication.IConnections * Microsoft.Agents.Builder.UserAuth.OBOSettings * Microsoft.Extensions.Logging.ILogger -> Microsoft.Agents.Builder.UserAuth.Connector.ConnectorUserAuthorization
Public Sub New (name As String, connections As IConnections, settings As OBOSettings, Optional logger As ILogger = Nothing)
Parameters
- name
- String
- connections
- IConnections
- settings
- OBOSettings
- logger
- ILogger
Exceptions
Applies to
ConnectorUserAuthorization(String, IStorage, IConnections, IConfigurationSection, ILogger)
Required constructor for the UserAuthorizationModuleLoader (when using IConfiguration)
public ConnectorUserAuthorization(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.Connector.ConnectorUserAuthorization : string * Microsoft.Agents.Storage.IStorage * Microsoft.Agents.Authentication.IConnections * Microsoft.Extensions.Configuration.IConfigurationSection * Microsoft.Extensions.Logging.ILogger -> Microsoft.Agents.Builder.UserAuth.Connector.ConnectorUserAuthorization
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
The storage provider used for user authorization data.
- connections
- IConnections
- configurationSection
- IConfigurationSection
- logger
- ILogger