Versions in this module Expand all Collapse all v2 v2.1.0 May 2, 2026 Changes in this version + func RunAlgorithmNormalizationCases(t *testing.T, normalize func([]string) ([]string, error)) + func RunBearerTokenCases(t *testing.T, parse func(string) (string, bool, error)) + func RunClaimRequirementDefaultCases[T any](t *testing.T, defaults func() T, toFlags func(T) ClaimRequirements) + func RunClaimValidationCases[T any](t *testing.T, defaults func() T, makeReq func(ClaimRequirements) T, ...) + func RunSkipHeaderCases(t *testing.T, shouldSkip func(*http.Request) bool) + func RunSubjectAlgorithmCases(t *testing.T, ...) + type ClaimRequirements struct + RequireExpiration bool + RequireIssuedAt bool + RequireNotBefore bool + RequireSubject bool