Documentation ¶
Index ¶
Constants ¶
View Source
const ( BindAddress = "bind-address" LogFormat = "log-format" LogLevel = "log-level" MetricsBindAddress = "metrics-bind-address" ShutdownGracefulPeriod = "shutdown-graceful-period" ShutdownWaitBeforePeriod = "shutdown-wait-before-period" AutoLogin = "auto-login" AutoLoginIgnorePaths = "auto-login-ignore-paths" Ingress = "ingress" UpstreamAccessLogs = "upstream-access-logs" UpstreamHost = "upstream-host" UpstreamIP = "upstream-ip" UpstreamPort = "upstream-port" )
View Source
const ( CookiePrefix = "cookie.prefix" CookieSameSite = "cookie.same-site" CookieSecure = "cookie.secure" EncryptionKey = "encryption-key" LegacyCookie = "legacy-cookie" )
View Source
const ( OpenIDACRValues = "openid.acr-values" OpenIDAudiences = "openid.audiences" OpenIDClientID = "openid.client-id" OpenIDClientJWK = "openid.client-jwk" OpenIDClientSecret = "openid.client-secret" OpenIDIDTokenSigningAlg = "openid.id-token-signing-alg" OpenIDPostLogoutRedirectURI = "openid.post-logout-redirect-uri" OpenIDProvider = "openid.provider" OpenIDResourceIndicator = "openid.resource-indicator" OpenIDScopes = "openid.scopes" OpenIDUILocales = "openid.ui-locales" OpenIDWellKnownURL = "openid.well-known-url" )
View Source
const ( OpenTelemetryEnabled = "otel.enabled" OpenTelemetryServiceName = "otel.service-name" )
View Source
const ( RedisAddress = "redis.address" RedisPassword = "redis.password" RedisTLS = "redis.tls" RedisUsername = "redis.username" RedisURI = "redis.uri" RedisConnectionIdleTimeout = "redis.connection-idle-timeout" )
View Source
const ( SessionInactivity = "session.inactivity" SessionInactivityTimeout = "session.inactivity-timeout" SessionMaxLifetime = "session.max-lifetime" SessionRefresh = "session.refresh" SessionRefreshAuto = "session.refresh-auto" )
View Source
const ( SSOEnabled = "sso.enabled" SSODomain = "sso.domain" SSOModeFlag = "sso.mode" SSOServerDefaultRedirectURL = "sso.server-default-redirect-url" SSOSessionCookieName = "sso.session-cookie-name" SSOServerURL = "sso.server-url" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { BindAddress string `json:"bind-address"` LogFormat string `json:"log-format"` LogLevel string `json:"log-level"` MetricsBindAddress string `json:"metrics-bind-address"` ShutdownGracefulPeriod time.Duration `json:"shutdown-graceful-period"` ShutdownWaitBeforePeriod time.Duration `json:"shutdown-wait-before-period"` Version string `json:"version"` AutoLogin bool `json:"auto-login"` AutoLoginIgnorePaths []string `json:"auto-login-ignore-paths"` Cookie Cookie `json:"cookie"` EncryptionKey string `json:"encryption-key"` Ingresses []string `json:"ingress"` LegacyCookie bool `json:"legacy-cookie"` UpstreamAccessLogs bool `json:"upstream-access-logs"` UpstreamHost string `json:"upstream-host"` UpstreamIP string `json:"upstream-ip"` UpstreamPort int `json:"upstream-port"` OpenTelemetry OpenTelemetry `json:"otel"` OpenID OpenID `json:"openid"` Redis Redis `json:"redis"` Session Session `json:"session"` SSO SSO `json:"sso"` }
func Initialize ¶
type Cookie ¶
type OpenID ¶
type OpenID struct { ACRValues string `json:"acr-values"` Audiences []string `json:"audiences"` ClientID string `json:"client-id"` ClientJWK string `json:"client-jwk"` ClientSecret string `json:"client-secret"` IDTokenSigningAlg string `json:"id-token-signing-alg"` PostLogoutRedirectURI string `json:"post-logout-redirect-uri"` Provider Provider `json:"provider"` ResourceIndicator string `json:"resource-indicator"` Scopes []string `json:"scopes"` UILocales string `json:"ui-locales"` WellKnownURL string `json:"well-known-url"` }
func (OpenID) TrustedAudiences ¶
type OpenTelemetry ¶
type Redis ¶
type SSO ¶
type SameSite ¶
type SameSite string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.