Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrServerNotRunning = fmt.Errorf("embedded OIDC server is not running")
Functions ¶
func NewStaticUserProvider ¶ added in v0.7.0
func NewStaticUserProvider() *staticUserProvider
Types ¶
type Config ¶
type Config struct {
ClientID string
ClientSecret string
Issuer string
AccessTTL time.Duration
RefreshTTL time.Duration
CodeChallengeMethodsSupported []string
// CallbackURL and IssuerURL are kube-bind specific and must match API server endpoints.
CallbackURL string
IssuerURL string
}
Config gives the configuration for clients to connect to the embedded OIDC server.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.