---
title: ASAccountAuthenticationModificationUpgradePasswordToStrongPasswordRequest
framework: authenticationservices
role: symbol
role_heading: Class
path: authenticationservices/asaccountauthenticationmodificationupgradepasswordtostrongpasswordrequest
---

# ASAccountAuthenticationModificationUpgradePasswordToStrongPasswordRequest

A request to automatically upgrade from a weak password to a strong password.

## Declaration

```swift
class ASAccountAuthenticationModificationUpgradePasswordToStrongPasswordRequest
```

## Mentioned in

Upgrading Account Security With an Account Authentication Modification Extension

## Overview

Overview Your app uses this class to initiate an upgrade from a weak password to a strong system-generated one. After creating the request, your app initiates the upgrade process by instantiating an ASAccountAuthenticationModificationController object and calling perform(_:) on it. The system invokes your authentication modification extension to complete the upgrade. For details about how to enforce requirements on the password, such as minimum length or requiring both letters and numbers, see ASAccountAuthenticationModificationPasswordGenerationRequirements.

## Topics

### Creating Upgrade Requests in Your App

- [init(user:serviceIdentifier:userInfo:)](authenticationservices/asaccountauthenticationmodificationupgradepasswordtostrongpasswordrequest/init(user:serviceidentifier:userinfo:).md)
- [user](authenticationservices/asaccountauthenticationmodificationupgradepasswordtostrongpasswordrequest/user.md)
- [serviceIdentifier](authenticationservices/asaccountauthenticationmodificationupgradepasswordtostrongpasswordrequest/serviceidentifier.md)
- [userInfo](authenticationservices/asaccountauthenticationmodificationupgradepasswordtostrongpasswordrequest/userinfo.md)

## Relationships

### Inherits From

- [ASAccountAuthenticationModificationRequest](authenticationservices/asaccountauthenticationmodificationrequest.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Initiating Security Upgrades from Your App

- [perform(_:)](authenticationservices/asaccountauthenticationmodificationcontroller/perform(_:).md)
- [ASAccountAuthenticationModificationReplacePasswordWithSignInWithAppleRequest](authenticationservices/asaccountauthenticationmodificationreplacepasswordwithsigninwithapplerequest.md)
- [ASAccountAuthenticationModificationRequest](authenticationservices/asaccountauthenticationmodificationrequest.md)
