Share via


UserAuthorization.OnUserSignInFailure(AuthorizationFailure) Method

Definition

The handler function is called when the user sign in flow fails

public void OnUserSignInFailure(Microsoft.Agents.Builder.App.UserAuth.AuthorizationFailure handler);
member this.OnUserSignInFailure : Microsoft.Agents.Builder.App.UserAuth.AuthorizationFailure -> unit
Public Sub OnUserSignInFailure (handler As AuthorizationFailure)

Parameters

handler
AuthorizationFailure

The handler function to call when the user failed to signed in

Remarks

This is called for either Manual or Auto SignIn flows. However, normally expected AgentApplication Turn process has not been performed during an Auto Sign In. This handler should be used to send failure message to the user and the turn ended.

Applies to