customer/internal/models/google.go

14 lines
588 B
Go
Raw Normal View History

2023-05-16 01:12:07 +00:00
package models
type GoogleUserInformation struct {
// The subject property contains the unique user identifier of the user who signed in
Subject string `json:"sub" bson:"Subject"`
Fullname string `json:"name" bson:"Fullname"`
GivenName string `json:"given_name" bson:"GivenName"`
FamilyName string `json:"family_name" bson:"FamilyName"`
AvatarURL string `json:"picture" bson:"AvatarURL"`
Email string `json:"email" bson:"Email"`
EmailVerified bool `json:"email_verified" bson:"EmailVerified"`
Locale string `json:"locale" bson:"Locale"`
}