ConnectorUserAuthorization 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.
User Authorization handling for Copilot Studio Connector requests.
public class ConnectorUserAuthorization : Microsoft.Agents.Builder.UserAuth.OBOExchange, Microsoft.Agents.Builder.UserAuth.IUserAuthorization
type ConnectorUserAuthorization = class
inherit OBOExchange
interface IUserAuthorization
Public Class ConnectorUserAuthorization
Inherits OBOExchange
Implements IUserAuthorization
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| ConnectorUserAuthorization(String, IConnections, OBOSettings) |
Code-first constructor. |
| ConnectorUserAuthorization(String, IStorage, IConnections, IConfigurationSection) |
Required constructor for the UserAuthorizationModuleLoader (when using IConfiguration) |
Properties
| Name | Description |
|---|---|
| Name | |
Methods
| Name | Description |
|---|---|
| GetOBOSettings() | |
| GetRefreshedUserTokenAsync(ITurnContext, String, IList<String>, CancellationToken) |
Gets a refreshed user token. |
| HandleOBO(ITurnContext, TokenResponse, String, IList<String>, CancellationToken) | (Inherited from OBOExchange) |
| ResetStateAsync(ITurnContext, CancellationToken) |
This is a no-op for this handler. |
| SignInUserAsync(ITurnContext, Boolean, String, IList<String>, CancellationToken) |
Signs in a user. This is called by AgentApplication each turn when OAuth is active."/> |
| SignOutUserAsync(ITurnContext, CancellationToken) |
This is a no-op for this handler. |
| TryGetOBOProvider(ITurnContext, String, IOBOExchange) | (Inherited from OBOExchange) |