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

# ASAccountAuthenticationModificationExtensionContext

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

```
class ASAccountAuthenticationModificationExtensionContext
```

## Overview> Note:
> This class ignores calls from Mac apps built with Mac Catalyst.

## Topics

### Handling Requests

[`-  completeUpgradeToSignInWithAppleWithUserInfo:`](/documentation/AuthenticationServices/ASAccountAuthenticationModificationExtensionContext/completeUpgradeToSignInWithApple(userInfo:))

Completes the process of upgrading an account’s authentication credentials from using passwords to using Sign in with Apple.

[`-  completeChangePasswordRequestWithUpdatedCredential:userInfo:`](/documentation/AuthenticationServices/ASAccountAuthenticationModificationExtensionContext/completeChangePasswordRequest(updatedCredential:userInfo:))

Completes a request to update an account’s authentication credentials from using a weak password to using a strong password.

[`-  getSignInWithAppleUpgradeAuthorizationWithState:nonce:completionHandler:`](/documentation/AuthenticationServices/ASAccountAuthenticationModificationExtensionContext/getSignInWithAppleUpgradeAuthorization(state:nonce:completionHandler:))

Retrieves the user’s current Sign in with Apple authorization credentials.

[`-  cancelRequestWithError:`](/documentation/AuthenticationServices/ASAccountAuthenticationModificationExtensionContext/cancelRequest(withError:))

Cancels a request with an error.

[`ASExtensionLocalizedFailureReasonErrorKey`](/documentation/AuthenticationServices/ASExtensionLocalizedFailureReasonErrorKey)

A key that specifies a string value to show to the user when a request fails.

## Relationships

### Inherits From

[`NSExtensionContext`](/documentation/Foundation/NSExtensionContext)

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Equatable`](/documentation/Swift/Equatable)

---

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)