Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserInfo ¶
type UserInfo struct {
jwt.RegisteredClaims
Picture string `json:"picture,omitempty"`
Name string `json:"name,omitempty"`
Email string `json:"email,omitempty"`
Origin string `json:"origin,omitempty"`
Refreshes int `json:"refs,omitempty"`
Domain string `json:"domain,omitempty"`
Groups []string `json:"groups,omitempty"`
}
UserInfo holds the parameters returned by the backends. This information will be serialized to build the JWT token contents.
Click to show internal directories.
Click to hide internal directories.