Versions in this module Expand all Collapse all v0 v0.4.0 Dec 19, 2024 Changes in this version + func GetAccessToken(ctx context.Context) string + type Config struct + AuthAdminEmails []string + AuthClientID string + AuthClientSecret string + AuthConfigType string + AuthCookieSecret string + AuthEmailDomains string + type GithubConfig struct + AuthGithubAllowUsers []string + AuthGithubOrg string + AuthGithubRepo string + AuthGithubTeams []string + AuthGithubToken string + type Proxy struct + func New(serverURL string, authProviderID uint, cfg Config) (*Proxy, error) + func (p *Proxy) AuthenticateRequest(req *http.Request) (*authenticator.Response, bool, error) + func (p *Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request) v0.4.0-rc1 Dec 18, 2024