<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASAccountAuthenticationModificationUpgradePasswordToStrongPasswordRequest",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "c:objc(cs)ASAccountAuthenticationModificationUpgradePasswordToStrongPasswordRequest"
  },
  "title" : "ASAccountAuthenticationModificationUpgradePasswordToStrongPasswordRequest"
}
-->

# ASAccountAuthenticationModificationUpgradePasswordToStrongPasswordRequest

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

```
class ASAccountAuthenticationModificationUpgradePasswordToStrongPasswordRequest
```

## 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`](/documentation/AuthenticationServices/ASAccountAuthenticationModificationController) object and calling [`perform(_:)`](/documentation/AuthenticationServices/ASAccountAuthenticationModificationController/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 <doc://com.apple.documentation/documentation/BundleResources/Information-Property-List/NSExtension/ASAccountAuthenticationModificationPasswordGenerationRequirements>.

## Topics

### Creating Upgrade Requests in Your App

[`init(user:serviceIdentifier:userInfo:)`](/documentation/AuthenticationServices/ASAccountAuthenticationModificationUpgradePasswordToStrongPasswordRequest/init(user:serviceIdentifier:userInfo:))

Creates a request to upgrade from using a weak password to using a strong system-generated password.

[`user`](/documentation/AuthenticationServices/ASAccountAuthenticationModificationUpgradePasswordToStrongPasswordRequest/user)

The user name of the account to upgrade.

[`serviceIdentifier`](/documentation/AuthenticationServices/ASAccountAuthenticationModificationUpgradePasswordToStrongPasswordRequest/serviceIdentifier)

An identifier that represents a particular service that the user needs a credential for, like a web site.

[`userInfo`](/documentation/AuthenticationServices/ASAccountAuthenticationModificationUpgradePasswordToStrongPasswordRequest/userInfo)

A dictionary that contains values to pass to your account modification extension.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)