Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
https://developers.google.com/identity/protocols/oauth2 https://developers.google.com/identity/protocols/oauth2/web-server https://developers.google.com/identity/openid-connect/openid-connect
func (*Client) AuthCodeURL ¶
type IdToken ¶
type IdToken struct { Subject string `json:"sub"` Picture *string `json:"picture,omitempty"` Locale *string `json:"locale,omitempty"` Name *string `json:"name,omitempty"` FamilyName *string `json:"family_name,omitempty"` GivenName *string `json:"given_name,omitempty"` Email *string `json:"email,omitempty"` Profile *string `json:"profile,omitempty"` EmailVerified bool `json:"email_verified"` }
https://developers.google.com/identity/openid-connect/openid-connect#obtainuserinfo
type Web ¶
type Web struct { ClientId string `json:"client_id"` ProjectId string `json:"project_id"` AuthUri string `json:"auth_uri"` TokenUri string `json:"token_uri"` AuthProviderX509CertUrl string `json:"auth_provider_x509_cert_url"` ClientSecret string `json:"client_secret"` RedirectUris []string `json:"redirect_uris"` JavascriptOrigins []string `json:"javascript_origins"` }
Click to show internal directories.
Click to hide internal directories.