Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProviders ¶
func GetProviders() map[string]TeamProvider
func Register ¶
func Register(providerName string, providerConstructor TeamProvider)
Types ¶
type AuthConfig ¶
type AuthConfigs ¶
type AuthConfigs map[string]AuthConfig
type OAuthClient ¶
type Provider ¶
type Provider interface { PreTokenClient() (*http.Client, error) OAuthClient Verifier }
func NewProvider ¶
type TeamProvider ¶
type TeamProvider interface { ProviderConstructor(AuthConfig, string) (Provider, bool) AddAuthGroup(*flags.Group) AuthConfig UnmarshalConfig(*json.RawMessage) (AuthConfig, error) }
Click to show internal directories.
Click to hide internal directories.