callback
The callback to listen for, which completes the request.
Declaration
var callback: ASWebAuthenticationSession.Callback? { get }Discussion
You create a callback with the type methods customScheme(_:) or https(host:path:).
Use this callback to check all main frame URLs that load during the request. When it matches, invoke complete(withCallbackURL:) with that URL.