onComplete property

WebAuthenticationSessionCompletionHandler? get onComplete

A completion handler the session calls when it completes successfully, or when the user cancels the session.

Officially Supported Platforms/Implementations:

  • iOS WKWebView
  • macOS WKWebView

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms
  • error: all platforms

Use the PlatformWebAuthenticationSession.isPropertySupported method to check if this property is supported at runtime.

Implementation

WebAuthenticationSessionCompletionHandler get onComplete =>
    platform.onComplete;