docs.unity3d.com
    Show / Hide Table of Contents

    Class InvalidJwtException

    Error occurred while decoding a JWT

    Inheritance
    Object
    Exception
    InvalidJwtException
    Namespace: Unity.Services.Core.Editor
    Syntax
    [Serializable]
    public class InvalidJwtException : Exception, ISerializable, _Exception

    Constructors

    InvalidJwtException(SerializationInfo, StreamingContext)

    Initializes a new instance of the InvalidJwtException class with serialized data.

    Declaration
    protected InvalidJwtException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info

    The SerializationInfo that holds the serialized object data about the exception being thrown.

    StreamingContext context

    The StreamingContext that contains contextual information about the source or destination.

    Properties

    ErrorCode

    Gets the error code for the failure.

    Declaration
    public int ErrorCode { get; }
    Property Value
    Type Description
    Int32
    Remarks

    See CommonErrorCodes for common error codes. Consult the service documentation for specific error codes various APIs can return.

    Token

    The raw JWT that failed to decode.

    Declaration
    public string Token { get; }
    Property Value
    Type Description
    String
    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