Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallbackParams ¶
type Credentials ¶
type ProviderGithub ¶
func (ProviderGithub) Callback ¶
func (p ProviderGithub) Callback(c echo.Context) error
func (ProviderGithub) InsertUser ¶
func (p ProviderGithub) InsertUser(ctx context.Context, u *githubUser) (string, error)
func (ProviderGithub) Login ¶
func (p ProviderGithub) Login(c echo.Context) error
type ProviderGoogle ¶
type ProviderGoogle struct { oauth2.Config *oidc.Provider // contains filtered or unexported fields }
func (ProviderGoogle) Callback ¶
func (p ProviderGoogle) Callback(c echo.Context) error
func (ProviderGoogle) InsertUser ¶
func (p ProviderGoogle) InsertUser(ctx context.Context, u *googleUser) (string, error)
func (ProviderGoogle) Login ¶
func (p ProviderGoogle) Login(c echo.Context) error
type TokenSource ¶
type TokenSource struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.