---
title: "perform(_:)"
framework: authenticationservices
role: symbol
role_heading: Instance Method
path: "authenticationservices/asaccountauthenticationmodificationcontroller/perform(_:)"
---

# perform(_:)

Performs a request to upgrade the authentication credentials for an account to a strong password, or to use Sign in with Apple.

## Declaration

```swift
func perform(_ request: ASAccountAuthenticationModificationRequest)
```

## Parameters

- `request`: The request to perform.

## Mentioned in

Upgrading Account Security With an Account Authentication Modification Extension

## Discussion

Discussion Only one request can be in progress at a time. If a request is already in progress, additional requests fail immediately.

## See Also

### Initiating Security Upgrades from Your App

- [ASAccountAuthenticationModificationReplacePasswordWithSignInWithAppleRequest](authenticationservices/asaccountauthenticationmodificationreplacepasswordwithsigninwithapplerequest.md)
- [ASAccountAuthenticationModificationUpgradePasswordToStrongPasswordRequest](authenticationservices/asaccountauthenticationmodificationupgradepasswordtostrongpasswordrequest.md)
- [ASAccountAuthenticationModificationRequest](authenticationservices/asaccountauthenticationmodificationrequest.md)
