constants

package
v2.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventTokenReuseRecovered = "jwt.token.reuse.recovered"
	EventTokenReuseThrottled = "jwt.token.reuse.throttled"
	EventTokenReuseMalicious = "jwt.token.reuse.malicious"
)

Event type constants

Variables

View Source
var (
	ErrInvalidToken          = errors.New("provided token is invalid or malformed")
	ErrTokenExpired          = errors.New("token has expired")
	ErrTokenRevoked          = errors.New("token has been revoked")
	ErrRefreshTokenNotFound  = errors.New("refresh token not found")
	ErrJWKSNotFound          = errors.New("JWKS (JSON Web Key Set) not available")
	ErrTokenGenerationFailed = errors.New("failed to generate token")
	ErrTokenValidationFailed = errors.New("failed to validate token")
	ErrSessionNotFound       = errors.New("session not found")
	ErrSessionExpired        = errors.New("session expired")
	ErrInvalidSessionState   = errors.New("session is in invalid state")
)

Error definitions

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL