blob: bdd8e8479edb5832fe1d31b7351e05c1a6823aac [file] [log] [blame]
jrperrittc8834c12016-08-03 16:06:16 -05001package trusts
2
jrperrittc8834c12016-08-03 16:06:16 -05003type TrusteeUser struct {
4 ID string `json:"id"`
5}
6
7type TrustorUser struct {
8 ID string `json:"id"`
9}
10
11type 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
jrperrittc8834c12016-08-03 16:06:16 -050020type TokenExt struct {
jrperritt98d01622017-01-12 14:24:42 -060021 Trust Trust `json:"OS-TRUST:trust"`
jrperrittc8834c12016-08-03 16:06:16 -050022}