Instance Method

cancel()

Cancels a web authentication session.

Declaration

func cancel()

Discussion

If the session has already presented a view with the authentication webpage, calling this method dismisses that view. Calling cancel() on an already canceled session has no effect.

See Also

Starting and Stopping a Session

func start() -> Bool

Starts a web authentication session.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software