jrperritt | c8834c1 | 2016-08-03 16:06:16 -0500 | [diff] [blame] | 1 | package trusts |
| 2 | |
jrperritt | c8834c1 | 2016-08-03 16:06:16 -0500 | [diff] [blame] | 3 | type TrusteeUser struct { |
| 4 | ID string `json:"id"` |
| 5 | } |
| 6 | |
| 7 | type TrustorUser struct { |
| 8 | ID string `json:"id"` |
| 9 | } |
| 10 | |
| 11 | type Trust struct { |
| 12 | ID string `json:"id"` |
| 13 | Impersonation bool `json:"impersonation"` |
| 14 | TrusteeUser TrusteeUser `json:"trustee_user"` |
| 15 | TrustorUser TrustorUser `json:"trustor_user"` |
| 16 | RedelegatedTrustID string `json:"redelegated_trust_id"` |
| 17 | RedelegationCount int `json:"redelegation_count"` |
| 18 | } |
| 19 | |
jrperritt | c8834c1 | 2016-08-03 16:06:16 -0500 | [diff] [blame] | 20 | type TokenExt struct { |
jrperritt | 98d0162 | 2017-01-12 14:24:42 -0600 | [diff] [blame^] | 21 | Trust Trust `json:"OS-TRUST:trust"` |
jrperritt | c8834c1 | 2016-08-03 16:06:16 -0500 | [diff] [blame] | 22 | } |