docs.unity.cn
    Show / Hide Table of Contents

    Class AuthenticationService

    The entry class to the Authentication Service.

    Inheritance
    Object
    AuthenticationService
    Namespace: Unity.Services.Authentication
    Syntax
    public static class AuthenticationService

    Properties

    Instance

    The default singleton instance to access the Authentication service.

    Declaration
    public static IAuthenticationService Instance { get; }
    Property Value
    Type Description
    IAuthenticationService
    Exceptions
    Type Condition
    ServicesInitializationException

    This exception is thrown if the

    UnityServices.InitializeAsync()
    has not finished before accessing the singleton.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, December 7, 2022
    Terms of use