This is very useful when trying to write managed groups filters as you can directly look at the structure of the claims for the accounts you're trying to filter. The output of the claims in text format on the CLI currently leaves something to be desired. I started revamping some of the formatting functions and it quickly got very fragile. Fundamentally at this point we're likely better off -- now that we have a good idea what our output format/standards are like -- rewriting the formatting code. I'll take that as a tasker as I have a lot of ideas...
12 lines
510 B
Go
12 lines
510 B
Go
// Code generated by "make api"; DO NOT EDIT.
|
|
package accounts
|
|
|
|
type OidcAccountAttributes struct {
|
|
Issuer string `json:"issuer,omitempty"`
|
|
Subject string `json:"subject,omitempty"`
|
|
FullName string `json:"full_name,omitempty"`
|
|
Email string `json:"email,omitempty"`
|
|
TokenClaims map[string]interface{} `json:"token_claims,omitempty"`
|
|
UserinfoClaims map[string]interface{} `json:"userinfo_claims,omitempty"`
|
|
}
|