Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseProvider ¶
type BaseProvider struct { DefaultAvatar string UserInfoURL string Name string // contains filtered or unexported fields }
func (*BaseProvider) GetName ¶
func (b *BaseProvider) GetName() string
func (*BaseProvider) GetRedirect ¶
func (b *BaseProvider) GetRedirect(state string) string
func (*BaseProvider) SetMapping ¶
func (b *BaseProvider) SetMapping(mapping *config.OAuth2Mapping)
func (*BaseProvider) SetOauthConfig ¶
func (b *BaseProvider) SetOauthConfig(cfg *oauth2.Config)
type Discord ¶
type Discord struct {
BaseProvider
}
type Generic ¶
type Generic struct {
BaseProvider
}
Click to show internal directories.
Click to hide internal directories.