Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditLogConfig ¶
type AuditLogConfig struct {
Enabled *bool `json:"enabled,omitempty"`
}
type Config ¶
type Config struct {
Listen string `json:"listen"`
LogLevel string `json:"log_level"`
Issuer string `json:"issuer"`
BasePath string `json:"base_path,omitempty"`
AccessTokenTTL string `json:"access_token_ttl"`
ActiveKID string `json:"active_kid,omitempty"`
Key KeyConfig `json:"key"`
Keys []KeyConfig `json:"keys,omitempty"`
RateLimits RateLimitsConfig `json:"rate_limits,omitempty"`
AuditLogs AuditLogConfig `json:"audit_logs,omitempty"`
Clients []server.Client `json:"clients"`
// contains filtered or unexported fields
}
func LoadConfig ¶
func (Config) ListenAddr ¶
type Ed25519SignerLoader ¶
type Ed25519SignerLoader struct{}
func (Ed25519SignerLoader) LoadSigner ¶
func (Ed25519SignerLoader) LoadSigner(cfg KeyConfig) (server.Signer, error)
type EndpointRateLimitConfig ¶
type RateLimitsConfig ¶
type RateLimitsConfig struct {
Token EndpointRateLimitConfig `json:"token,omitempty"`
Readyz EndpointRateLimitConfig `json:"readyz,omitempty"`
}
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
func NewWithSignerLoader ¶
func NewWithSignerLoader(cfg Config, loader SignerLoader) (*Runtime, error)
func (*Runtime) SignerCount ¶
Click to show internal directories.
Click to hide internal directories.