<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 8.0.0 -",
    "macOS: 10.15.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PushKit",
  "identifier" : "/documentation/PushKit/PKPushCredentials",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "PushKit"
    ],
    "preciseIdentifier" : "c:objc(cs)PKPushCredentials"
  },
  "title" : "PKPushCredentials"
}
-->

# PKPushCredentials

An object that encapsulates the device token you use to deliver push notifications to your app.

```
class PKPushCredentials
```

## Overview

When registering your app’s push types, PushKit creates a `PKPushCredentials` object for each type your app supports and delivers it to your delegate’s [`pushRegistry(_:didUpdate:for:)`](/documentation/PushKit/PKPushRegistryDelegate/pushRegistry(_:didUpdate:for:)) method. Don’t create `PKPushCredentials` objects yourself.

## Topics

### Getting the Token

[`token`](/documentation/PushKit/PKPushCredentials/token)

A unique device token to use when sending push notifications to the current device.

[`type`](/documentation/PushKit/PKPushCredentials/type)

The push type constant associated with the token.

## Relationships

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

### Conforms To

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

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

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

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

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

[`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)