Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleOauthConfig ¶
type GoogleOauthConfig struct {
// contains filtered or unexported fields
}
func New ¶
func New() *GoogleOauthConfig
func NewGoogleOauthConfig ¶
func NewGoogleOauthConfig(clientId, clientSecret, redirectUrl string) *GoogleOauthConfig
func (*GoogleOauthConfig) AuthCodeUrl ¶
func (t *GoogleOauthConfig) AuthCodeUrl(state string, opts ...oauth2.AuthCodeOption) (url string)
type UserInfo ¶
type UserInfo struct { Id string `json:"id"` Email string `json:"email"` Name string `json:"name"` GivenName string `json:"given_name"` FamilyName string `json:"family_name"` Picture string `json:"picture"` Locale string `json:"locale"` VerifiedEmail bool `json:"verified_email"` }
user info
Click to show internal directories.
Click to hide internal directories.