docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PlayerAccountsErrorCodes

    PlayerAccountsErrorCodes lists the error codes from PlayerAccountsException and failed events. The error code range is : 10100 to 10199.

    Inheritance
    object
    PlayerAccountsErrorCodes
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Services.Authentication.PlayerAccounts
    Assembly: solution.dll
    Syntax
    public static class PlayerAccountsErrorCodes

    Fields

    Name Description
    InvalidClient

    InvalidClient Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method). The authorization server MAY return an HTTP 401 (Unauthorized) status code to indicate which HTTP authentication schemes are supported. If the client attempted to authenticate via the "Authorization" request header field, the authorization server MUST respond with an HTTP 401 (Unauthorized) status code and include the "WWW-Authenticate" response header field matching the authentication scheme used by the client.

    InvalidGrant

    InvalidGrant The provided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.

    InvalidRequest

    InvalidRequest The request is missing a required parameter, includes an unsupported parameter value (other than grant type),repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed.

    InvalidScope

    InvalidScope The requested scope is invalid, unknown, malformed, or exceeds the scope granted by the resource owner.

    InvalidState

    A client error that is returned when the user is not in the right state. For example, calling SignOut when the user is already signed out will result in this error.

    MissingClientId

    The client Id has not been configured in the editor

    MissingRefreshToken

    The refresh token is missing. This can occur when the client does not have OfflineAccessScope for requesting a refresh token.

    UnauthorizedClient

    UnauthorizedClient The authenticated client is not authorized to use this authorization grant type.

    UnknownError

    Unknown error

    UnsupportedGrantType

    UnsupportedGrantType The authorization grant type is not supported by the authorization server.

    UnsupportedResponseType

    UnsupportedResponseType The authorization server does not support obtaining an authorization code using this method.

    In This Article
    Back to top
    Copyright © 2023 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)