MCPcopy
hub / github.com/smallstep/cli / Options

FuncType Options

token/options.go:28–28  ·  view source on GitHub ↗

Options is a function that set claims.

func(c *Claims) error

Source from the content-addressed store, hash-verified

26
27// Options is a function that set claims.
28type Options func(c *Claims) error
29
30// WithClaim is an Options function that adds a custom claim to the JWT.
31func WithClaim(name string, value interface{}) Options {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…