Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/golang-jwt/jwt
/ Validate
Method
Validate
validator.go:28–28 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
26
type
ClaimsValidator
interface
{
27
Claims
28
Validate() error
29
}
30
31
// Validator is the core of the new Validation API. It is automatically used by
Callers
6
ParseWithClaims
Method · 0.65
Validate
Method · 0.65
TestMapclaimsVerifyIssuedAtInvalidTypeString
Function · 0.65
TestMapclaimsVerifyNotBeforeInvalidTypeString
Function · 0.65
TestMapclaimsVerifyExpiresAtInvalidTypeString
Function · 0.65
TestMapClaimsVerifyExpiresAtExpire
Function · 0.65
Implementers
2
Validator
validator.go
MyCustomClaims
validator_test.go
Calls
no outgoing calls
Tested by
4
TestMapclaimsVerifyIssuedAtInvalidTypeString
Function · 0.52
TestMapclaimsVerifyNotBeforeInvalidTypeString
Function · 0.52
TestMapclaimsVerifyExpiresAtInvalidTypeString
Function · 0.52
TestMapClaimsVerifyExpiresAtExpire
Function · 0.52