Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SocialAuthProvider ¶
type SocialAuthProvider interface { User(context.Context, *oauth2.Token) (User, error) Validate(context.Context, ValidateOptions) (*oauth2.Token, error) }
func NewGoogle ¶
func NewGoogle(cfg config.Config) SocialAuthProvider
type ValidateOptions ¶
type ValidateOptions struct {
Code string
}
Click to show internal directories.
Click to hide internal directories.