---
title: "performRequests(_:customMethods:)"
framework: authenticationservices
role: symbol
role_heading: Instance Method
path: "authenticationservices/authorizationcontroller/performrequests(_:custommethods:)"
---

# performRequests(_:customMethods:)

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

## Declaration

```swift
@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 doc://com.apple.authenticationservices/documentation/AuthenticationServices/ASAuthorizationCustomMethod.

## Return Value

Return Value The request’s outcome. For more information, see ASAuthorizationResult.

## Discussion

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(_:), use the case’s associated value to access the chosen authorization method.

## See Also

### Performing requests

- [performRequest(_:)](authenticationservices/authorizationcontroller/performrequest(_:).md)
- [performRequests(_:)](authenticationservices/authorizationcontroller/performrequests(_:).md)
- [performRequest(_:options:)](authenticationservices/authorizationcontroller/performrequest(_:options:).md)
- [performRequests(_:options:)](authenticationservices/authorizationcontroller/performrequests(_:options:).md)
- [performRequest(_:customMethods:)](authenticationservices/authorizationcontroller/performrequest(_:custommethods:).md)
