Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OAuth2Configure ¶
type OAuth2Configure interface { GetOAuth2Config(c context.Context) (*oauth2.Config, error) GetIssuer() string GetClientID() string GetClientSecret() string GetRedirectURL() string GetScopes() []string }
OAuth2Configure is the interface for OAuth2 configuration.
type OAuth2Store ¶
type OAuth2Store interface {
GetClientByDomain(c context.Context, domain string) (OAuth2Configure, error)
}
OAuth2Store is the interface for OAuth2 configuration.
var DefaultOAuth2Store OAuth2Store
DefaultOAuth2Store default oauth2 store
Click to show internal directories.
Click to hide internal directories.