docs.unity3d.com
    Show / Hide Table of Contents

    Interface IAuthenticator

    An interface for authentication flow that implements IAccessTokenProvider and IAuthenticationStateProvider.

    Inherited Members
    IAccessTokenProvider.GetAccessTokenAsync()
    IAuthenticationStateProvider.AuthenticationState
    IAuthenticationStateProvider.AuthenticationStateChanged
    Namespace: Unity.Cloud.Identity
    Syntax
    public interface IAuthenticator : IAccessTokenProvider, IAuthenticationStateProvider

    Methods

    HasValidPreconditionsAsync()

    Indicates if the IAuthenticator has valid preconditions to provide authentication in the current execution context.

    Declaration
    Task<bool> HasValidPreconditionsAsync()
    Returns
    Type Description
    Task<Boolean>

    A task that when completed indicates if the IAuthenticator has valid preconditions to provide authentication in the current execution context.

    InitializeAsync()

    A task to initialize the AuthenticationState from either cache or direct injection value.

    Declaration
    Task InitializeAsync()
    Returns
    Type Description
    Task
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023