Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IOAuthGoogle ¶
type IOAuthGoogle interface {
GetUserInfo(code string) (model.GoogleOauthResponse, error)
}
IOAuthGoogle interface for requester oauth provider google
type OAuthGoogle ¶
type OAuthGoogle struct {
Context context.Context
Config *config.Configuration
Logger *logrus.Logger
GConfig *oauth2.Config
HTTPClient *http.Client
}
OAuthGoogle struct for requester oauth provider google
func (*OAuthGoogle) GetUserInfo ¶
func (og *OAuthGoogle) GetUserInfo(code string) (model.GoogleOauthResponse, error)
GetUserInfo retrieved user data from google services
Click to show internal directories.
Click to hide internal directories.