summaryrefslogtreecommitdiff
path: root/src/rgw/rgw_swift.h
blob: f8a64d344603ea66c77499c9788a0ac518499557 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

#ifndef CEPH_RGW_SWIFT_H
#define CEPH_RGW_SWIFT_H

#include "rgw_common.h"

class RGWRados;

struct rgw_swift_auth_info {
  int status;
  string auth_groups;
  string user;
  string display_name;
  long long ttl;

  rgw_swift_auth_info() : status(0), ttl(0) {}
};

bool rgw_verify_swift_token(RGWRados *store, req_state *s);


#endif