9 #ifndef TOKENCACHEKEY_H
10 #define TOKENCACHEKEY_H
14 #include "TokenSubjectType.h"
22 using TokenCacheKeyPtr = ptr<TokenCacheKey>;
26 static const String& Tag() {
static const String tag=
"TokenCacheKey";
return tag;}
33 TokenSubjectType tokenSubjectType_;
37 TokenCacheKey(
const String& authority,
const String& resource,
const String& clientId,
const TokenSubjectType tokenSubjectType,
const UserInfoPtr userInfo);
38 TokenCacheKey(
const String& authority,
const String& resource,
const String& clientId,
const TokenSubjectType tokenSubjectType,
const String& uniqueId);
40 const String& authority()
const {
return authority_; }
41 const String& resource()
const {
return resource_; }
42 const String& clientId()
const {
return clientId_; }
43 const String& uniqueId()
const {
return uniqueId_; }
45 TokenSubjectType tokenSubjectType()
const {
return tokenSubjectType_; }
49 std::size_t getHashCode()
const;
58 struct hash<
rmsauth::TokenCacheKey>
62 return (k.getHashCode());
69 #endif // TOKENCACHEKEY_H
Definition: TokenCacheKey.h:54
Definition: AcquireTokenForClientHandler.h:14
Definition: TokenCacheKey.h:24