Documentation
¶
Index ¶
Constants ¶
View Source
const UriUser = "https://api.github.com/user"
Variables ¶
View Source
var ServiceChanged = fmt.Errorf("github api seems to have changed")
View Source
var ServiceNotAvailable = fmt.Errorf("fails to fetch github access token")
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
func (Adapter) FetchOAuthToken ¶
func (g Adapter) FetchOAuthToken(code string) (identity.GithubOAuthToken, error)
func (Adapter) FetchUserPublicProfile ¶
func (g Adapter) FetchUserPublicProfile(token string) (identity.GithubUserPublicProfile, error)
type GithubOAuthToken ¶
Click to show internal directories.
Click to hide internal directories.