Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶ added in v0.9.0
type Provider struct {
PrepareTokensAndClient func(*http.Request, *structs.PTokens, bool) (*http.Client, *oauth2.Token, error)
}
Provider provider specific functions
func (Provider) Configure ¶ added in v0.9.0
func (Provider) Configure()
Configure see main.go configure()
func (Provider) GetUserInfo ¶ added in v0.9.0
func (me Provider) GetUserInfo(r *http.Request, user *structs.User, customClaims *structs.CustomClaims, ptokens *structs.PTokens) (rerr error)
GetUserInfo github user info, calls github api for org and teams https://developer.github.com/apps/building-integrations/setting-up-and-registering-oauth-apps/about-authorization-options-for-oauth-apps/
Click to show internal directories.
Click to hide internal directories.