<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASAuthorizationControllerDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "c:objc(pl)ASAuthorizationControllerDelegate"
  },
  "title" : "ASAuthorizationControllerDelegate"
}
-->

# ASAuthorizationControllerDelegate

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

```
@MainActor protocol ASAuthorizationControllerDelegate : NSObjectProtocol
```

## Topics

### Handling Successful Authorization

[`authorizationController(_:didCompleteWithCustomMethod:)`](/documentation/AuthenticationServices/ASAuthorizationControllerDelegate/authorizationController(_:didCompleteWithCustomMethod:))

Informs the delegate when authorization completes, and specifies the custom method the user selected.

[`authorizationController(controller:didCompleteWithAuthorization:)`](/documentation/AuthenticationServices/ASAuthorizationControllerDelegate/authorizationController(controller:didCompleteWithAuthorization:))

Tells the delegate when authorization completes successfully.

[`ASAuthorization`](/documentation/AuthenticationServices/ASAuthorization)

The encapsulation of a successful authorization by a controller.

### Handling Authorization Errors

[`authorizationController(controller:didCompleteWithError:)`](/documentation/AuthenticationServices/ASAuthorizationControllerDelegate/authorizationController(controller:didCompleteWithError:))

Tells the delegate when authorization fails, and provides an error explaining why.

[`ASAuthorizationErrorDomain`](/documentation/AuthenticationServices/ASAuthorizationErrorDomain)

The domain of authorization errors.

[`ASAuthorizationError`](/documentation/AuthenticationServices/ASAuthorizationError-swift.struct)

Errors that can occur during authorization.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)