UserAuthorization Class

Definition

UserAuthorization supports and extensible number of OAuth flows.

Auto Sign In: If enabled in UserAuthorizationOptions, sign in starts automatically after the first Message the user sends. When the sign in is complete, the turn continues with the original message. On failure, OnUserSignInFailure(Func<ITurnContext, ITurnState, string, SignInResponse, CancellationToken, Task>) is called.

public class UserAuthorization
type UserAuthorization = class
Public Class UserAuthorization
Inheritance
UserAuthorization

Remarks

This is always executed in the context of a turn for the user in ITurnContext.Activity.From.

Applies to