Class

ASWebAuthenticationSessionRequest

A login session request that a web browser receives from an app.

Declaration

@interface ASWebAuthenticationSessionRequest : NSObject

Topics

Interpreting a Request

URL

The web address the browser should use to perform the authentication request.

callbackURLScheme

The scheme the browser should use to return the result of the authentication attempt to the app requesting it.

shouldUseEphemeralSession

A Boolean that indicates whether the browser should use a private browsing session.

UUID

A unique identifier for the request.

Finishing a Request

- completeWithCallbackURL:

Indicates that the browser successfully completed the authentication attempt.

- cancelWithError:

Indicates that the browser canceled the authentication attempt.

Indicating Completion

delegate

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

ASWebAuthenticationSessionRequestDelegate

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

Relationships

Inherits From

See Also

Starting and Stopping a Session Request

- beginHandlingWebAuthenticationSessionRequest:

Handles the given session request from an app.

Required.

- cancelWebAuthenticationSessionRequest:

Cancels the process of handling the given request.

Required.