Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAccessToken ¶
Types ¶
type Config ¶
type Config struct { AuthCookieSecret string `usage:"Secret used to encrypt cookie"` AuthEmailDomains string `usage:"Email domains allowed for authentication" default:"*"` AuthAdminEmails []string `usage:"Emails admin users"` AuthConfigType string `usage:"Type of OAuth configuration" default:"google"` AuthClientID string `usage:"Client ID for OAuth"` AuthClientSecret string `usage:"Client secret for OAuth"` // Type-specific config GithubConfig }
type GithubConfig ¶
type GithubConfig struct { AuthGithubOrg string `usage:"Restrict logins to members of this organization"` AuthGithubTeams []string `usage:"Restrict logins to members of any of these teams (slug)"` AuthGithubRepo string `usage:"Restrict logins to collaborators of this repository formatted as org/repo"` AuthGithubToken string `usage:"The token to use when verifying repository collaborators (must have push access to the repository)"` AuthGithubAllowUsers []string `usage:"Users allowed to login even if they don't belong to the organization or team(s)"` }
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
func (*Proxy) AuthenticateRequest ¶
Click to show internal directories.
Click to hide internal directories.