diff options
author | Pritha Srivastava <prsrivas@redhat.com> | 2020-03-26 13:53:58 +0100 |
---|---|---|
committer | Pritha Srivastava <prsrivas@redhat.com> | 2020-06-05 18:01:58 +0200 |
commit | 7566664f89be062e0c9f3519dc60b94c8af5e2a4 (patch) | |
tree | d6d105b011f124a6a011517fe77422b148c1698d /src/rgw/rgw_web_idp.h | |
parent | rgw: Adding jwt-cpp header only library for JWT validation. (diff) | |
download | ceph-7566664f89be062e0c9f3519dc60b94c8af5e2a4.tar.xz ceph-7566664f89be062e0c9f3519dc60b94c8af5e2a4.zip |
rgw: Added code for offline OpenId Connect/ OAuth 2.0 tokens
if the token is a JWT.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Diffstat (limited to 'src/rgw/rgw_web_idp.h')
-rw-r--r-- | src/rgw/rgw_web_idp.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rgw/rgw_web_idp.h b/src/rgw/rgw_web_idp.h index 30bcebd804c..f4af38b08a0 100644 --- a/src/rgw/rgw_web_idp.h +++ b/src/rgw/rgw_web_idp.h @@ -16,7 +16,9 @@ struct WebTokenClaims { //Issuer of this token std::string iss; //Human-readable id for the resource owner - string user_name; + std::string user_name; + //Client Id + std::string client_id; }; }; /* namespace web_idp */ |