store

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2023 License: MIT Imports: 2 Imported by: 5

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL