string bucket_id;
headers_map x_headers;
string trans_id;
+ std::vector<string> token_claims;
void encode(bufferlist &bl) const {
- ENCODE_START(10, 5, bl);
+ ENCODE_START(11, 5, bl);
encode(object_owner.id, bl);
encode(bucket_owner.id, bl);
encode(bucket, bl);
encode(bucket_owner, bl);
encode(x_headers, bl);
encode(trans_id, bl);
+ encode(token_claims, bl);
ENCODE_FINISH(bl);
}
void decode(bufferlist::const_iterator &p) {
- DECODE_START_LEGACY_COMPAT_LEN(10, 5, 5, p);
+ DECODE_START_LEGACY_COMPAT_LEN(11, 5, 5, p);
decode(object_owner.id, p);
if (struct_v > 3)
decode(bucket_owner.id, p);
if (struct_v >= 10) {
decode(trans_id, p);
}
+ if (struct_v >= 11) {
+ decode(token_claims, p);
+ }
DECODE_FINISH(p);
}
void dump(ceph::Formatter *f) const;