Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleService ¶
type GoogleService interface {
GenerateState() (string, error)
GetDefaultAuthCodeURL() (string, string)
Exchange(code string) (*oauth2.Token, error)
GetUser(token *oauth2.Token) (*GoogleUserinfoResponse, error)
}
GoogleService todo
func NewGoogleService ¶
func NewGoogleService(context context.Context) GoogleService
NewGoogleService todo
Click to show internal directories.
Click to hide internal directories.