docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IAuthenticator

    An interface for authentication flow that implements Unity.Cloud.Common.IServiceAuthorizer, IAuthenticationStateProvider, IUserInfoProvider and IOrganizationRepository.

    Inherited Members
    IServiceAuthorizer.AddAuthorization(HttpHeaders)
    IAuthenticationStateProvider.AuthenticationState
    IAuthenticationStateProvider.AuthenticationStateChanged
    IUserInfoProvider.GetUserInfoAsync()
    IOrganizationRepository.ListOrganizationsAsync(Range, CancellationToken)
    IOrganizationRepository.GetOrganizationAsync(OrganizationId)
    Namespace: Unity.Cloud.Identity
    Assembly: Unity.Cloud.Identity.dll
    Syntax
    public interface IAuthenticator : IServiceAuthorizer, IAuthenticationStateProvider, IUserInfoProvider, IOrganizationRepository

    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<bool>

    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

    A task.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)