<!--
{
  "availability" : [
    "iOS: 17.5.0 -",
    "iPadOS: 17.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "marketplacekit",
  "identifier" : "/documentation/MarketplaceKit/AppLibrary/didAuthenticate(account:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "MarketplaceKit"
    ],
    "preciseIdentifier" : "s:14MarketplaceKit10AppLibraryC15didAuthenticate7accountySS_tYaF"
  },
  "title" : "didAuthenticate(account:)"
}
-->

# didAuthenticate(account:)

Instructs the system to reinstall an app after a required reuthorization completes.

```
nonisolated final func didAuthenticate(account: String) async
```

## Parameters

`account`

The account ID or username for the person. The marketplace server provides this value in the [`MarketplaceKitURIScheme`](/documentation/MarketplaceKit/MarketplaceKitURIScheme) installation request.

## Discussion

The marketplace or other web-distributed app calls this method after reauthenticating a person when the access token expires. For more information, see [Reauthenticating a person to manage apps](/documentation/marketplacekit/reauthenticating-a-person-to-manage-apps).

---

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)