Documentation ¶
Index ¶
- Constants
- func SplitScopes(scopes string) []string
- type Provider
- func (p *Provider) Config() *oauth2.Config
- func (p *Provider) Name() string
- func (p *Provider) OnCreate(ctx context.Context, userID string, providerSessionID string) error
- func (p *Provider) OnDelete(ctx context.Context, userID string, providerSessionID string) error
- func (p *Provider) State(restrictedToken string) string
- func (p *Provider) Type() string
Constants ¶
View Source
const ProviderType = "oauth"
Variables ¶
This section is empty.
Functions ¶
func SplitScopes ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.