Contents

VSUserAccountManager.AutoSignInTokenUpdateContext

An object that contains information about a person’s choice in the Automatic Sign-In prompt.

Declaration

struct AutoSignInTokenUpdateContext

Mentioned in

Overview

The framework returns an instance of this structure when your app calls requestAutoSignInAuthorization() to prompt a person for approval to opt in to Automatic Sign-In.

Check the authorization property of this structure to determine the person’s answer to the prompt. If the value is VSUserAccountManager.AutoSignInAuthorization.granted, generate a sign in token and pass the instance of this structure and the newly-generated token to the framework using the updateAutoSignInToken(_:updateContext:) method.

Topics

Determining status

See Also

Signing people in automatically