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

# ASAccountAuthenticationModificationReplacePasswordWithSignInWithAppleRequest

A request to upgrade from using a password to using Sign in with Apple.

```
class ASAccountAuthenticationModificationReplacePasswordWithSignInWithAppleRequest
```

## Overview

Your app uses this class to initiate an upgrade to Sign in with Apple. 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.

## Topics

### Creating Upgrade Requests in Your App

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

Creates a request to upgrade from using passwords to using Sign in with Apple.

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

The user name of the account to upgrade.

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

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

[`userInfo`](/documentation/AuthenticationServices/ASAccountAuthenticationModificationReplacePasswordWithSignInWithAppleRequest/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)