Documentation
¶
Overview ¶
Package user holds details about a person who is using the application
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type User ¶
type User struct {
// Email: The user's email address.
Email string
// LastName: The user's last name.
LastName string
// FirstName: The user's first name.
FirstName string
// FullName: The user's full name.
FullName string
// HostedDomain: The hosted domain e.g. example.com if the user
// is Google apps user.
HostedDomain string
// PictureURL: URL of the user's picture image.
PictureURL string
// ProfileLink: URL of the profile page.
ProfileLink string
}
User holds details of a User from Google
func FromRequest ¶ added in v0.28.0
FromRequest gets the User from the request
Click to show internal directories.
Click to hide internal directories.