---
title: ASAccountAuthenticationModificationExtensionContext
framework: authenticationservices
role: symbol
role_heading: Class
path: authenticationservices/asaccountauthenticationmodificationextensioncontext
---

# ASAccountAuthenticationModificationExtensionContext

An object that you interact with to change an account’s password or to upgrade to Sign in with Apple.

## Declaration

```swift
class ASAccountAuthenticationModificationExtensionContext
```

## Overview

Overview note: This class ignores calls from Mac apps built with Mac Catalyst.

## Topics

### Handling Requests

- [completeUpgradeToSignInWithApple(userInfo:)](authenticationservices/asaccountauthenticationmodificationextensioncontext/completeupgradetosigninwithapple(userinfo:).md)
- [completeChangePasswordRequest(updatedCredential:userInfo:)](authenticationservices/asaccountauthenticationmodificationextensioncontext/completechangepasswordrequest(updatedcredential:userinfo:).md)
- [getSignInWithAppleUpgradeAuthorization(state:nonce:completionHandler:)](authenticationservices/asaccountauthenticationmodificationextensioncontext/getsigninwithappleupgradeauthorization(state:nonce:completionhandler:).md)
- [cancelRequest(withError:)](authenticationservices/asaccountauthenticationmodificationextensioncontext/cancelrequest(witherror:).md)
- [ASExtensionLocalizedFailureReasonErrorKey](authenticationservices/asextensionlocalizedfailurereasonerrorkey.md)

## Relationships

### Inherits From

- [NSExtensionContext](foundation/nsextensioncontext.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)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Automatic security upgrades

- [Upgrading Account Security With an Account Authentication Modification Extension](authenticationservices/upgrading-account-security-with-an-account-authentication-modification-extension.md)
- [ASAccountAuthenticationModificationController](authenticationservices/asaccountauthenticationmodificationcontroller.md)
- [ASAccountAuthenticationModificationViewController](authenticationservices/asaccountauthenticationmodificationviewcontroller.md)
