45 virtual bool HasIdentityId()
const = 0;
46 virtual bool HasLogins()
const = 0;
51 virtual void PersistIdentityId(
const Aws::String&) = 0;
55 inline void Logout() { ClearIdentity(); ClearLogins(); }
59 m_loginsUpdatedCallback = Aws::BuildFunction<void(const PersistentCognitoIdentityProvider&)>(callback);
64 m_identityIdUpdatedCallback = Aws::BuildFunction<void(const PersistentCognitoIdentityProvider&)>(callback);
78 bool HasIdentityId()
const override;
79 bool HasLogins()
const override;
84 void PersistIdentityId(
const Aws::String&)
override;
90 void LoadAndParseDoc();
94 std::mutex m_docMutex;
100 bool m_disableCaching;
Aws::String GetAccountId() const override
PersistentCognitoIdentityProvider_JsonFileImpl DefaultPersistentCognitoIdentityProvider
std::function< void(const PersistentCognitoIdentityProvider &)> m_identityIdUpdatedCallback
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
long long longTermTokenExpiry
void SetLoginsUpdatedCallback(const std::function< void(const PersistentCognitoIdentityProvider &)> &callback)
std::function< void(const PersistentCognitoIdentityProvider &)> m_loginsUpdatedCallback
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
#define AWS_IDENTITY_MANAGEMENT_API
Aws::String longTermToken
Aws::String GetIdentityPoolId() const override
void SetIdentityIdUpdatedCallback(const std::function< void(const PersistentCognitoIdentityProvider &)> &callback)
JSON (JavaScript Object Notation).