mirror of
https://github.com/hanzoai/commerce.git
synced 2026-10-30 15:08:42 +00:00
Multi-tenant commerce and billing: orders, subscriptions, invoices, plans, usage metering and a credit ledger. One Go binary. MIT OR Apache-2.0. Claude-Session: https://claude.ai/code/session_01SAtaDFm8VDiWrhYHNNtxMw
15 lines
672 B
Go
15 lines
672 B
Go
package jwt
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
MalformedToken = errors.New("Token is malformed")
|
|
InvalidNumberOfSegments = errors.New("Token contains an invalid number of segments")
|
|
UnavailableSigningMethod = errors.New("Token is unverifiable, signing method is unavailable")
|
|
UnspecifiedSigningMethod = errors.New("Token is unverifiable, signing method is unspecified")
|
|
TokenIsExpired = errors.New("Token is expired")
|
|
TokenIsNotValidYet = errors.New("Token is not valid yet")
|
|
TokenCouldNotBeDecoded = errors.New("Token could not be decoded")
|
|
SigningAlgorithmIncorrect = errors.New("Algorithm in header does not match signing algorithm")
|
|
)
|