Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OAuthFlow ¶
type OAuthFlow struct {
Hostname string
ClientID string
ClientSecret string
WriteSuccessHTML func(io.Writer)
VerboseStream io.Writer
}
OAuthFlow represents the setup for authenticating with GitHub
func (*OAuthFlow) ObtainAccessToken ¶
ObtainAccessToken guides the user through the browser OAuth flow on GitHub and returns the OAuth access token upon completion.
Click to show internal directories.
Click to hide internal directories.