Protocol

ASAuthorizationControllerDelegate

An interface for providing information about the outcome of an authorization request.

Declaration

@protocol ASAuthorizationControllerDelegate

Topics

Handling Successful Authorization

- authorizationController:didCompleteWithAuthorization:

Tells the delegate that authorization completed successfully.

ASAuthorization

The encapsulation of a successful authorization performed by a controller.

Handling Authorization Errors

- authorizationController:didCompleteWithError:

Tells the delegate that authorization failed, and provides an error to explain why.

ASAuthorizationErrorDomain

The domain of authorization errors.

ASAuthorizationError

Codes that authorization errors can have.

Relationships

Inherits From

See Also

Responding to Request Completion

delegate

A delegate that the authorization controller informs about the success or failure of an authorization attempt.