Instance Method

start()

Starts a web authentication session.

Declaration

func start() -> Bool

Return Value

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

Discussion

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