requestAutoSignInAuthorization()
Presents a modal sheet that offers a person to opt in to Automatic Sign-In.
Declaration
func requestAutoSignInAuthorization() async throws -> VSUserAccountManager.AutoSignInTokenUpdateContextMentioned in
Discussion
Call this method after a successful sign in to your streaming service. You might also call this method through custom UI that your app implements to offer Automatic Sign-In.
If the person approves the prompt, the framework sets the authorization status to VSUserAccountManager.AutoSignInAuthorization.granted. If the person dismisses the prompt without approving, the system leaves the authorization status VSUserAccountManager.AutoSignInAuthorization.notDetermined and the framework doesn’t prompt them again until the app calls requestAutoSignInAuthorization() once more.
For more information, see Signing people in to their media accounts automatically.