go.charczuk.com@v0.0.0-20240327042549-bc490516bd1a/sdk/oauth/profile.go (about)

     1  /*
     2  
     3  Copyright (c) 2023 - Present. Will Charczuk. All rights reserved.
     4  Use of this source code is governed by a MIT license that can be found in the LICENSE file at the root of the repository.
     5  
     6  */
     7  
     8  package oauth
     9  
    10  // Profile is a profile with google.
    11  type Profile struct {
    12  	ID            string `json:"id"`
    13  	Email         string `json:"email"`
    14  	VerifiedEmail bool   `json:"verified_email"`
    15  	Name          string `json:"name"`
    16  	GivenName     string `json:"given_name"`
    17  	FamilyName    string `json:"family_name"`
    18  	Link          string `json:"link"`
    19  	Gender        string `json:"gender"`
    20  	Locale        string `json:"locale"`
    21  	PictureURL    string `json:"picture"`
    22  }