AzureBotUserAuthorization 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 AzureBotUserAuthorization : Microsoft.Agents.Builder.UserAuth.IUserAuthorization
type AzureBotUserAuthorization = class
interface IUserAuthorization
Public Class AzureBotUserAuthorization
Implements IUserAuthorization
- Inheritance
-
AzureBotUserAuthorization
- Implements
Constructors
| AzureBotUserAuthorization(String, IStorage, IConnections, IConfigurationSection) | |
| AzureBotUserAuthorization(String, IStorage, IConnections, OAuthSettings) |
Initializes the class |
Properties
| Name |
Methods
| 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. |