Documentation
¶
Index ¶
Constants ¶
View Source
const NoopEmail = ""
Variables ¶
View Source
var ( ErrNoVerifiedPrimaryEmail = errors.New("goth: no verified primary email found") ErrFailedFetchUser = errors.New("goth: no failed to fetch user") ErrNotAllowedOrg = errors.New("goth: user not in allowed org") ErrNoName = errors.New("goth: user has no display name set") ErrMissingIDToken = errors.New("goth: no id token found") )
View Source
var DefaultClient = &http.Client{ Transport: &http.Transport{ MaxIdleConnsPerHost: 20, }, Timeout: 10 * time.Second, }
DefaultClient is the default HTTP client used. TODO: allows to configure the client via options.
View Source
var DefaultScopes = []string{"openid", "profile", "email", "offline_access"}
DefaultScopes holds the default scopes used for GitHub.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.