UserAuthorization.OnUserSignInFailure(AuthorizationFailure) Method
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.
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.