type github.com/golang-jwt/jwt/v5.Claims
14 uses
github.com/golang-jwt/jwt/v5 (current package)
claims.go#L9: type Claims interface {
parser.go#L57: func (p *Parser) ParseWithClaims(tokenString string, claims Claims, keyFunc Keyfunc) (*Token, error) {
parser.go#L140: func (p *Parser) ParseUnverified(tokenString string, claims Claims) (token *Token, parts []string, err error) {
parser.go#L266: func ParseWithClaims(tokenString string, claims Claims, keyFunc Keyfunc, options ...ParserOption) (*Token, error) {
token.go#L34: Claims Claims // Claims is the second segment of the token in decoded form
token.go#L47: func NewWithClaims(method SigningMethod, claims Claims, opts ...TokenOption) *Token {
validator.go#L27: Claims
validator.go#L88: func (v *Validator) Validate(claims Claims) error {
validator.go#L167: func (v *Validator) verifyExpiresAt(claims Claims, cmp time.Time, required bool) error {
validator.go#L188: func (v *Validator) verifyIssuedAt(claims Claims, cmp time.Time, required bool) error {
validator.go#L209: func (v *Validator) verifyNotBefore(claims Claims, cmp time.Time, required bool) error {
validator.go#L229: func (v *Validator) verifyAudience(claims Claims, cmp string, required bool) error {
validator.go#L265: func (v *Validator) verifyIssuer(claims Claims, cmp string, required bool) error {
validator.go#L285: func (v *Validator) verifySubject(claims Claims, cmp string, required bool) error {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |