docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class InvalidJwtException

    Error occurred while decoding a JWT

    Inheritance
    object
    Exception
    InvalidJwtException
    Implements
    _Exception
    ISerializable
    Inherited Members
    Exception.GetBaseException()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.ToString()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Services.Core.Editor
    Assembly: Unity.Services.Core.Editor.dll
    Syntax
    [Serializable]
    public class InvalidJwtException : Exception, _Exception, ISerializable

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

    Implements

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