Class

ASAuthorizationController

A controller that manages authorization requests created by a provider.

Declaration

class ASAuthorizationController : NSObject

Topics

Creating a Controller

init(authorizationRequests: [ASAuthorizationRequest])

Creates a controller from a collection of authorization requests.

Inspecting Requests

var authorizationRequests: [ASAuthorizationRequest]

The authorization requests that the controller manages.

class ASAuthorizationRequest

A base class for different kinds of authorization requests.

Presenting Requests

var presentationContextProvider: ASAuthorizationControllerPresentationContextProviding?

A delegate that provides a display context in which the system can present an authorization interface to the user.

protocol ASAuthorizationControllerPresentationContextProviding

An interface the controller uses to ask a delegate for a presentation context.

Executing Requests

func performRequests()

Starts the authorization flows named during controller initialization.

Responding to Request Completion

var delegate: ASAuthorizationControllerDelegate?

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

protocol ASAuthorizationControllerDelegate

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

Relationships

Inherits From

Conforms To

See Also

Sign In with Apple

Adding the Sign In with Apple Flow to Your App

Provide a fast, secure, and privacy-friendly way for users to set up an account and start using your services.

Sign In with Apple Entitlement

An entitlement that lets your app use Sign In with Apple.

Key: com.apple.developer.applesignin
class ASAuthorizationAppleIDProvider

A mechanism for generating requests to authenticate users based on their Apple ID.

class ASAuthorizationAppleIDCredential

A credential that results from a successful Apple ID authentication.