Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var JWKCacheRefresh = 5 * time.Minute
Functions ¶
Types ¶
type BearerTransport ¶
type BearerTransport struct { Token string Transport http.RoundTripper }
type GetJWKFunc ¶ added in v0.0.4
type GetJWKFunc func() (*jose.JSONWebKey, error)
type HttpContextKeyEmail ¶ added in v0.0.4
type HttpContextKeyEmail struct{}
type Options ¶
type Options struct { Name string `mapstructure:"name"` Kind string `mapstructure:"kind"` APIKey string `mapstructure:"api-key"` TLSCache string `mapstructure:"tls-cache"` SkipTLSVerify bool `mapstructure:"skip-tls-verify"` Labels []string `mapstructure:"labels"` internal.Options `mapstructure:",squash"` }
Click to show internal directories.
Click to hide internal directories.