Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultAudience = "github.com/planetlabs/kubehook" DefaultMaxLifetime = 7 * 24 * time.Hour )
Defaults for JSON Web Tokens.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*jwtm) error
An Option represents an optional argument to NewBackend
func MaxLifetime ¶
MaxLifetime is the maximum allowed expiry time for generated tokens.
Click to show internal directories.
Click to hide internal directories.