tailcfg: add some example strings in comments

reviewable/pr458/r1
Brad Fitzpatrick 4 years ago
parent deb113838e
commit 51f421946f

@ -114,8 +114,8 @@ type Login struct {
// It also includes derived data from one of the user's logins. // It also includes derived data from one of the user's logins.
type UserProfile struct { type UserProfile struct {
ID UserID ID UserID
LoginName string // for display purposes only (provider is not listed) LoginName string // "alice@smith.com"; for display purposes only (provider is not listed)
DisplayName string DisplayName string // "Alice Smith"
ProfilePicURL string ProfilePicURL string
Roles []RoleID Roles []RoleID
} }

Loading…
Cancel
Save