Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserInfo ¶
type UserInfo struct {
Subject string `json:"subject"`
Name string `json:"name,omitempty"`
Email string `json:"email,omitempty"`
// CellID is the cell that owns this user, if known. 0 means unknown; the
// access token's cell-routing claim is then omitted rather than guessed.
CellID int64 `json:"cell_id,omitempty"`
// GitLabUserID is the internal GitLab user ID. Unlike Subject, it is not
// set by the federation login flow, whose Subject is a foreign IdP's ID.
// "" means unknown; the access token's "u" routing claim is then
// omitted. A string, not an int, so it doesn't fix today's integer ID
// format as a permanent invariant.
GitLabUserID string `json:"gitlab_user_id,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.