---
title: VSUserAccountManager.AutoSignInToken
framework: videosubscriberaccount
role: symbol
role_heading: Structure
path: videosubscriberaccount/vsuseraccountmanager/autosignintoken-swift.struct
---

# VSUserAccountManager.AutoSignInToken

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

## Declaration

```swift
struct AutoSignInToken
```

## Overview

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 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(). Alternatively, if you delete the token value by calling deleteAutoSignInToken(), the framework sets value to nil and authorization to 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 Signing people in to their media accounts automatically.

## Topics

### Defining the token value

- [value](videosubscriberaccount/vsuseraccountmanager/autosignintoken-swift.struct/value.md)

### Determining status

- [authorization](videosubscriberaccount/vsuseraccountmanager/autosignintoken-swift.struct/authorization.md)

## See Also

### Signing people in automatically

- [VSUserAccountManager.AutoSignInTokenUpdateContext](videosubscriberaccount/vsuseraccountmanager/autosignintokenupdatecontext.md)
- [VSUserAccountManager.AutoSignInAuthorization](videosubscriberaccount/vsuseraccountmanager/autosigninauthorization.md)
- [autoSignInToken](videosubscriberaccount/vsuseraccountmanager/autosignintoken-swift.property.md)
- [deleteAutoSignInToken()](videosubscriberaccount/vsuseraccountmanager/deleteautosignintoken().md)
- [requestAutoSignInAuthorization()](videosubscriberaccount/vsuseraccountmanager/requestautosigninauthorization().md)
- [updateAutoSignInToken(_:updateContext:)](videosubscriberaccount/vsuseraccountmanager/updateautosignintoken(_:updatecontext:).md)
