- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for standardClaimsToken (0.12 sec)
-
internal/jwt/parser_test.go
func mapClaimsToken(claims *MapClaims) string { claims.SetAccessKey("test") j := jwt.NewWithClaims(jwt.SigningMethodHS512, claims) tk, _ := j.SignedString([]byte("HelloSecret")) return tk } func standardClaimsToken(claims *StandardClaims) string { claims.AccessKey = "test" claims.Subject = "test" j := jwt.NewWithClaims(jwt.SigningMethodHS512, claims) tk, _ := j.SignedString([]byte("HelloSecret")) return tk }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Nov 05 19:20:08 UTC 2021 - 6K bytes - Viewed (0)