Documentation ¶
Index ¶
- Constants
- func NewScopeVerifier(scope string) verifier.Verifier
- type ConfigOverride
- type GenericOAuthToken
- type GenericTeamProvider
- type NoopVerifier
- type Provider
- func (provider Provider) AuthCodeURL(state string, opts ...oauth2.AuthCodeOption) string
- func (provider Provider) Client(ctx context.Context, t *oauth2.Token) *http.Client
- func (provider Provider) Exchange(ctx context.Context, code string) (*oauth2.Token, error)
- func (Provider) PreTokenClient() (*http.Client, error)
- type ScopeVerifier
Constants ¶
View Source
const ProviderName = "oauth"
Variables ¶
This section is empty.
Functions ¶
func NewScopeVerifier ¶
Types ¶
type GenericOAuthToken ¶
type GenericOAuthToken struct {
Scopes []string `json:"scope"`
}
type GenericTeamProvider ¶
type GenericTeamProvider struct{}
func (GenericTeamProvider) ProviderConfigured ¶
func (GenericTeamProvider) ProviderConfigured(team db.Team) bool
func (GenericTeamProvider) ProviderConstructor ¶
type NoopVerifier ¶
type NoopVerifier struct{}
Click to show internal directories.
Click to hide internal directories.