---
title: "performRequest(_:options:)"
framework: authenticationservices
role: symbol
role_heading: Instance Method
path: "authenticationservices/authorizationcontroller/performrequest(_:options:)"
---

# performRequest(_:options:)

Performs the specified authorization request with explicit options.

## Declaration

```swift
@MainActor func performRequest(_ request: ASAuthorizationRequest, options: ASAuthorizationController.RequestOptions) async throws -> ASAuthorizationResult
```

## Parameters

- `request`: The authorization request to perform.
- `options`: Additional options that customize the request’s behavior. For more information, see doc://com.apple.authenticationservices/documentation/AuthenticationServices/ASAuthorizationController/RequestOptions.

## Return Value

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

## See Also

### Performing requests

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