Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
type AuthConfig struct { Provider string `json:"provider"` Enabled bool `json:"enabled"` GithubConfig *GithubConfig `json:"githubConfig,omitempty"` LocalConfig *LocalConfig `json:"localConfig,omitempty"` }
AuthConfig structure contains the AuthConfig definition
func DefaultGithubConfig ¶
func DefaultGithubConfig() AuthConfig
func DefaultLocalConfig ¶
func DefaultLocalConfig() AuthConfig
type AuthError ¶
type AuthError struct { Type string `json:"type"` Status string `json:"status"` Message string `json:"message"` }
AuthError structure contains the error resource definition
type GithubConfig ¶
type GithubConfig struct { RedirectURL string `json:"redirectUrl,omitempty"` Hostname string `json:"hostname,omitempty"` Scheme string `json:"scheme,omitempty"` ClientID string `json:"clientId,omitempty"` ClientSecret string `json:"clientSecret,omitempty"` }
GithubConfig stores the github config read from JSON file
Click to show internal directories.
Click to hide internal directories.