Contents

VSUserAccountManager.AutoSignInToken

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

Declaration

struct AutoSignInToken

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.

For more information about Automatic Sign-In tokens, see Signing people in to their media accounts automatically.

Topics

Defining the token value

Determining status

See Also

Signing people in automatically