Ongoing OIDC: return the primary account info along with the user. (#1145)

This commit is contained in:
Jim authored and GitHub committed 2021-04-20 20:33:56 -04:00
1 parent a90a64d787
commit 75108cbc8b
33 files changed
+1514 -643

No files matched your search

+4
View File
@@ -24,6 +24,10 @@ type User struct {
AccountIds []string `json:"account_ids,omitempty"`
Accounts []*Account `json:"accounts,omitempty"`
AuthorizedActions []string `json:"authorized_actions,omitempty"`
LoginName string `json:"login_name,omitempty"`
FullName string `json:"full_name,omitempty"`
Email string `json:"email,omitempty"`
PrimaryAccountId string `json:"primary_account_id,omitempty"`
response *api.Response
}