Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterOAuthProvider ¶
func RegisterOAuthProvider(factory OAuthProviderFactory)
RegisterOAuthProvider register OAuthProviderFactory with the specified type
func SetupWithOptions ¶
func SetupWithOptions(options []oauth.IdentityProviderOptions) error
SetupWithOptions will verify the configuration and initialize the identityProviders
Types ¶
type OAuthProvider ¶
func GetOAuthProvider ¶
func GetOAuthProvider(providerName string) (OAuthProvider, error)
GetOAuthProvider returns OAuthProvider with given name
type OAuthProviderFactory ¶
type OAuthProviderFactory interface { Type() string Create(options oauth.DynamicOptions) (OAuthProvider, error) }
Click to show internal directories.
Click to hide internal directories.