<!--
{
  "availability" : [
    "iOS: 6.0.0 - 15.0.0",
    "iPadOS: 6.0.0 - 15.0.0",
    "macCatalyst: 13.1.0 - 15.0.0",
    "macOS: 10.8.0 - 12.0.0",
    "swift: -"
  ],
  "documentType" : "symbol",
  "framework" : "Accounts",
  "identifier" : "/documentation/Accounts/ACAccountCredential/init(OAuth2Token:refreshToken:expiryDate:)-8r1ys",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Accounts"
    ],
    "preciseIdentifier" : "c:objc(cs)ACAccountCredential(im)initWithOAuth2Token:refreshToken:expiryDate:::SYNTHESIZED::c:objc(cs)ACAccountCredential"
  },
  "title" : "init(OAuth2Token:refreshToken:expiryDate:)"
}
-->

# init(OAuth2Token:refreshToken:expiryDate:)

```
init!(OAuth2Token token: String!, refreshToken: String!, expiryDate: Date!)
```

---

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)