<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoSubscriberAccount",
  "identifier" : "/documentation/VideoSubscriberAccount/VSAutoSignInToken",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Video Subscriber Account"
    ],
    "preciseIdentifier" : "c:objc(cs)VSAutoSignInToken"
  },
  "title" : "VSAutoSignInToken"
}
-->

# VSAutoSignInToken

A value that represents a person’s account and their consent to Automatic Sign-In.

```
@interface VSAutoSignInToken : NSObject
```

## Overview

Automatic Sign-In tokens implement a single sign-on experience for media streaming services for a signed-in Apple Account.

The framework sets [`autoSignInToken`](/documentation/VideoSubscriberAccount/VSUserAccountManager/autoSignInToken-swift.property) to an instance of this structure. The source of the information inside depends on whether the person approves the prompt to opt in to Automatic Sign-In. For more information, see [`requestAutoSignInAuthorization()`](/documentation/VideoSubscriberAccount/VSUserAccountManager/requestAutoSignInAuthorization()).

Alternatively, if you delete the token value by calling [`deleteAutoSignInToken()`](/documentation/VideoSubscriberAccount/VSUserAccountManager/deleteAutoSignInToken()), the framework sets [`value`](/documentation/VideoSubscriberAccount/VSAutoSignInToken/value) to `nil` and [`authorization`](/documentation/VideoSubscriberAccount/VSAutoSignInToken/authorization) to [`VSUserAccountManager.AutoSignInAuthorization.notDetermined`](/documentation/VideoSubscriberAccount/VSUserAccountManager/AutoSignInAuthorization/notDetermined).

> Important: Only use an Automatic Sign-In token to turn on media streaming. For example, avoid using the token itself as a gate that lets the person manage their account.

For more information about Automatic Sign-In tokens, see <doc://com.apple.videosubscriberaccount/documentation/VideoSubscriberAccount/signing-people-in-to-media-apps-automatically>.

## Topics

### Defining the token value

[`@property (nonatomic, readonly, nullable) NSString * value;`](/documentation/VideoSubscriberAccount/VSAutoSignInToken/value)

A string that represents a person’s account.

### Determining status

[`@property (nonatomic, readonly) VSAutoSignInAuthorization authorization;`](/documentation/VideoSubscriberAccount/VSAutoSignInToken/authorization)

A state that represents a person’s approval of Automatic Sign-In.

## Relationships

### Conforms To

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

### Inherits From

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

---

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)