Protocol

ASWebAuthenticationSessionRequestDelegate

An interface through which the session request can inform its delegate, which is typically a browser, about the outcome of the authentication attempt.

Declaration

protocol ASWebAuthenticationSessionRequestDelegate

Topics

Responding to Completion Events

func authenticationSessionRequest(ASWebAuthenticationSessionRequest, didCompleteWithCallbackURL: URL)

Tells the delegate, typically a browser, that the authentication completed successfully.

func authenticationSessionRequest(ASWebAuthenticationSessionRequest, didCancelWithError: Error)

Tells the delegate, typically a browser, that the authentication was canceled.

Relationships

Inherits From

See Also

Indicating Completion

var delegate: ASWebAuthenticationSessionRequestDelegate?

A delegate that the session request instance informs about authentication completion.