<!--
{
  "availability" : [
    "tvOS: 16.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/AuthorizationController/performRequests(_:customMethods:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Authentication Services",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:31_AuthenticationServices_SwiftUI23AuthorizationControllerV15performRequests_13customMethodsAA21ASAuthorizationResultOSaySo0K7RequestCG_SaySo0K12CustomMethodaGtYaKF"
  },
  "title" : "performRequests(_:customMethods:)"
}
-->

# performRequests(_:customMethods:)

Performs an authorization request from the provided array using a custom authorization method.

```
@MainActor func performRequests(_ requests: [ASAuthorizationRequest], customMethods: [ASAuthorizationCustomMethod]) async throws -> ASAuthorizationResult
```

## Parameters

`requests`

An array of supported authorization requests.

`customMethods`

An array of custom authorization methods to display in the system authorization UI. For more information, see [`ASAuthorizationCustomMethod`](/documentation/AuthenticationServices/ASAuthorizationCustomMethod).

## Return Value

The request’s outcome. For more information, see [`ASAuthorizationResult`](/documentation/AuthenticationServices/ASAuthorizationResult).

## Discussion

The framework checks each authorization request in the array against the credentials available on the person’s device; the more credential types your app supports, the more options a person can choose from.

If the return value is [`ASAuthorizationResult.customMethod(_:)`](/documentation/AuthenticationServices/ASAuthorizationResult/customMethod(_:)), use the case’s associated value to access the chosen authorization method.

---

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)