blob: bdd8e8479edb5832fe1d31b7351e05c1a6823aac [file] [log] [blame]
package trusts
type TrusteeUser struct {
ID string `json:"id"`
}
type TrustorUser struct {
ID string `json:"id"`
}
type Trust struct {
ID string `json:"id"`
Impersonation bool `json:"impersonation"`
TrusteeUser TrusteeUser `json:"trustee_user"`
TrustorUser TrustorUser `json:"trustor_user"`
RedelegatedTrustID string `json:"redelegated_trust_id"`
RedelegationCount int `json:"redelegation_count"`
}
type TokenExt struct {
Trust Trust `json:"OS-TRUST:trust"`
}