package entity

import (
	"fmt"
)

var (
	ErrInvalidTokenID     = fmt.Errorf("invalid token ID")
	ErrInvalidUID         = fmt.Errorf("invalid UID")
	ErrInvalidAccessToken = fmt.Errorf("invalid access token")
	ErrTokenExpired       = fmt.Errorf("token expired")
	ErrTokenNotFound      = fmt.Errorf("token not found")

	ErrInvalidJWTToken   = fmt.Errorf("invalid JWT token")
	ErrJWTSigningFailed  = fmt.Errorf("JWT signing failed")
	ErrJWTParsingFailed  = fmt.Errorf("JWT parsing failed")
	ErrInvalidSigningKey = fmt.Errorf("invalid signing key")
	ErrInvalidJTI        = fmt.Errorf("invalid JWT ID")

	ErrRefreshTokenExpired = fmt.Errorf("refresh token expired")
	ErrInvalidRefreshToken = fmt.Errorf("invalid refresh token")

	ErrOneTimeTokenExpired = fmt.Errorf("one-time token expired")
	ErrInvalidOneTimeToken = fmt.Errorf("invalid one-time token")

	ErrTokenBlacklisted  = fmt.Errorf("token is blacklisted")
	ErrBlacklistNotFound = fmt.Errorf("blacklist entry not found")
)
