---
title: performRequests()
framework: authenticationservices
role: symbol
role_heading: Instance Method
path: authenticationservices/asauthorizationcontroller/performrequests()
---

# performRequests()

Starts the specified authorization flows during controller initialization.

## Declaration

```swift
func performRequests()
```

## Mentioned in

Authenticating people by using passkeys in browser apps Supporting passkeys

## Discussion

Discussion When authorization succeeds, the system relays that information to the controller’s delegate by calling the authorizationController(controller:didCompleteWithAuthorization:) method with an authorization instance. If authorization fails, the system calls the authorizationController(controller:didCompleteWithError:) method instead. Some authorization flows require a presentation context to ask the user for information or consent. Adopt the ASAuthorizationControllerPresenting protocol in one of your app’s classes, and set an instance of that class as the authorization controller’s presentationController.

## See Also

### Executing requests

- [performRequests(options:)](authenticationservices/asauthorizationcontroller/performrequests(options:).md)
- [performAutoFillAssistedRequests()](authenticationservices/asauthorizationcontroller/performautofillassistedrequests().md)
- [cancel()](authenticationservices/asauthorizationcontroller/cancel().md)
- [ASAuthorizationController.RequestOptions](authenticationservices/asauthorizationcontroller/requestoptions.md)
