Instance Method


Starts a web authentication session.


func start() -> Bool

Return Value

A Boolean value indicating whether the web authentication session started successfully.


Only call this method once for a given ASWebAuthenticationSession instance after initialization. Calling the start() method on a canceled session results in a failure.

See Also

Starting and Stopping a Session

func cancel()

Cancels 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