Instance Method

beginHandlingWebAuthenticationSessionRequest:

Handles the given session request from an app.

Required.

Declaration

- (void)beginHandlingWebAuthenticationSessionRequest:(ASWebAuthenticationSessionRequest *)request;

Parameters

request

The request to begin handling.

Discussion

Your browser app implements this method to accept requests from apps that want to use single sign-on for authentication. Inspect the given request to see what URL to use for the request, and what call back scheme to use to reply to the app. Call the request’s completeWithCallbackURL: method to indicate a completed authentication. Call the cancelWithError: method if the browser can’t complete the operation, for example because the user cancels it.

See Also

Starting and Stopping a Session Request

- cancelWebAuthenticationSessionRequest:

Cancels the process of handling the given request.

Required.

ASWebAuthenticationSessionRequest

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