---
title: ASAccountAuthenticationModificationReplacePasswordWithSignInWithAppleRequest
framework: authenticationservices
role: symbol
role_heading: Class
path: authenticationservices/asaccountauthenticationmodificationreplacepasswordwithsigninwithapplerequest
---

# ASAccountAuthenticationModificationReplacePasswordWithSignInWithAppleRequest

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

## Declaration

```swift
class ASAccountAuthenticationModificationReplacePasswordWithSignInWithAppleRequest
```

## Mentioned in

Upgrading Account Security With an Account Authentication Modification Extension

## Overview

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 object and calling 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:)](authenticationservices/asaccountauthenticationmodificationreplacepasswordwithsigninwithapplerequest/init(user:serviceidentifier:userinfo:).md)
- [user](authenticationservices/asaccountauthenticationmodificationreplacepasswordwithsigninwithapplerequest/user.md)
- [serviceIdentifier](authenticationservices/asaccountauthenticationmodificationreplacepasswordwithsigninwithapplerequest/serviceidentifier.md)
- [userInfo](authenticationservices/asaccountauthenticationmodificationreplacepasswordwithsigninwithapplerequest/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)
- [ASAccountAuthenticationModificationUpgradePasswordToStrongPasswordRequest](authenticationservices/asaccountauthenticationmodificationupgradepasswordtostrongpasswordrequest.md)
- [ASAccountAuthenticationModificationRequest](authenticationservices/asaccountauthenticationmodificationrequest.md)
