Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildAuthURL ¶
BuildAuthURL returns the GitHub OAuth authorization URL and a random state token.
Types ¶
type Config ¶
type Config struct {
ClientID string
ClientSecret string
RedirectURL string
AuthURL string // override for testing
TokenURL string // override for testing
UserURL string // override for testing
}
Config holds GitHub OAuth App credentials.
Click to show internal directories.
Click to hide internal directories.