AgenticUserAuthorization 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.
Handles OAuth using the Azure Bot Token Service.
public class AgenticUserAuthorization : Microsoft.Agents.Builder.UserAuth.IUserAuthorization
type AgenticUserAuthorization = class
interface IUserAuthorization
Public Class AgenticUserAuthorization
Implements IUserAuthorization
- Inheritance
-
AgenticUserAuthorization
- Implements
Constructors
| Name | Description |
|---|---|
| AgenticUserAuthorization(String, IStorage, IConnections, AgenticAuthSettings) |
Initializes the class |
| AgenticUserAuthorization(String, IStorage, IConnections, IConfigurationSection) |
Required constructor for type loader construction. |
Properties
| Name | Description |
|---|---|
| Name | |
Methods
| Name | Description |
|---|---|
| GetRefreshedUserTokenAsync(ITurnContext, String, IList<String>, CancellationToken) |
Gets a refreshed user token. |
| ResetStateAsync(ITurnContext, CancellationToken) |
Resets the sign in flow state. |
| 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) |
Signs out a user. |