<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASCredentialImportManager/init()",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "s:22AuthenticationServices25ASCredentialImportManagerCACycfc"
  },
  "title" : "init()"
}
-->

# init()

Creates an import manager instance.

```
init()
```

## Discussion

Create an instance of this class when the system launches your app with an <doc://com.apple.documentation/documentation/Foundation/NSUserActivity> of type `ASCredentialExchangeActivityType`, then call [`importCredentials(token:)`](/documentation/AuthenticationServices/ASCredentialImportManager/importCredentials(token:)) to import credentials from the source app.

---

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)