Options is a function that set claims.
func(c *Claims) error
| 26 | |
| 27 | // Options is a function that set claims. |
| 28 | type Options func(c *Claims) error |
| 29 | |
| 30 | // WithClaim is an Options function that adds a custom claim to the JWT. |
| 31 | func WithClaim(name string, value interface{}) Options { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…