A controller that manages authorization requests created by a provider.
SDKs
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
Framework
- Authentication
Services
Declaration
class ASAuthorizationController : NSObject
A controller that manages authorization requests created by a provider.
SDKs
Framework
class ASAuthorizationController : NSObject
init(authorization Requests: [ASAuthorization Request])
Creates a controller from a collection of authorization requests.
var authorization Requests: [ASAuthorization Request]
The authorization requests that the controller manages.
class ASAuthorization Request
A base class for different kinds of authorization requests.
var presentation Context Provider: ASAuthorization Controller Presentation Context Providing?
A delegate that provides a display context in which the system can present an authorization interface to the user.
protocol ASAuthorization Controller Presentation Context Providing
An interface the controller uses to ask a delegate for a presentation context.
func perform Requests()
Starts the authorization flows named during controller initialization.
var delegate: ASAuthorization Controller Delegate?
A delegate that the authorization controller informs about the success or failure of an authorization attempt.
protocol ASAuthorization Controller Delegate
An interface for providing information about the outcome of an authorization request.
Provide a fast, secure, and privacy-friendly way for users to set up an account and start using your services.
An entitlement that lets your app use Sign In with Apple.
class ASAuthorization Apple IDProvider
A mechanism for generating requests to authenticate users based on their Apple ID.
class ASAuthorization Apple IDCredential
A credential that results from a successful Apple ID authentication.