Skip to main content

JsonWebTokenStatus Enum

Abblix.Oidc.Server

Abblix.Oidc.Server.Features.Tokens.Revocation

JsonWebTokenStatus Enum

Defines the possible states of a JSON Web Token within the system.

public enum JsonWebTokenStatus

Fields

Unknown 0

Indicates that the status of the token is not known. This may be used as a default value when the token's status has not been explicitly set or determined.

Used 1

Indicates that the token has been used. This status can be used to mark tokens that have been consumed in a process, such as authorization codes that have been exchanged for access tokens.

Revoked 2

Indicates that the token has been revoked. A revoked token is no longer valid for use and should be rejected in any validation checks. This status is typically set when a user or system administrator manually invalidates a token.