OAuthFlow.OnSignInFailure(SignInFailureHandler) 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.
Register a callback invoked when token exchange fails.
public Microsoft.Teams.Apps.OAuth.OAuthFlow OnSignInFailure(Microsoft.Teams.Apps.OAuth.SignInFailureHandler handler);
member this.OnSignInFailure : Microsoft.Teams.Apps.OAuth.SignInFailureHandler -> Microsoft.Teams.Apps.OAuth.OAuthFlow
Public Function OnSignInFailure (handler As SignInFailureHandler) As OAuthFlow
Parameters
- handler
- SignInFailureHandler
The handler to invoke on sign-in failure.
Returns
This OAuthFlow instance for chaining.