<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 10.15.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASAuthorizationProviderExtensionAuthorizationRequest/presentAuthorizationViewController(completion:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "c:objc(cs)ASAuthorizationProviderExtensionAuthorizationRequest(im)presentAuthorizationViewControllerWithCompletion:"
  },
  "title" : "presentAuthorizationViewController(completion:)"
}
-->

# presentAuthorizationViewController(completion:)

Asks the authorization service to show the extension’s view controller to the user.

```
func presentAuthorizationViewController(completion: @escaping @Sendable (Bool, (any Error)?) -> Void)
```

## Parameters

`completion`

A completion handler that the method uses to indicate whether the view controller was presented successfully, and the specific error if not.

## Discussion

This is only valid during authentication requests. If the system can’t show the controller, the completion returns an error.

---

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)