- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NewValidationError (0.14 sec)
-
internal/jwt/parser.go
func (c *StandardClaims) Valid() error { if err := c.StandardClaims.Valid(); err != nil { return err } if c.AccessKey == "" && c.Subject == "" { return jwtgo.NewValidationError("accessKey/sub missing", jwtgo.ValidationErrorClaimsInvalid) } return nil } // NewMapClaims - Initializes a new map claims func NewMapClaims() *MapClaims {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 17 16:45:46 UTC 2024 - 14.1K bytes - Viewed (0)