10 #ifndef OAUTH2HTTPAUTHORIZER_HPP_
11 #define OAUTH2HTTPAUTHORIZER_HPP_
43 bool authorize (
const std::string& clientId,
64 #endif // OAUTH2AUTHORIZER_HPP_
HttpAuthorizer interface. This should be used by classes implementing different Http authorization me...
Definition: Http.hpp:334
OAuth2HttpAuthorizer()
Constructor.
Definition: OAuth2HttpAuthorizer.cpp:17
Class OAuth2HttpAuthorizer Implements OAuth2 authentication method.
Definition: OAuth2HttpAuthorizer.hpp:23
SecureString class, used to store strings like passwords etc. Current implementation encodes string i...
Definition: SecureString.hpp:26
virtual ~OAuth2HttpAuthorizer()
Destructor, virtual by default.
Definition: OAuth2HttpAuthorizer.cpp:21
bool authorize(const std::string &clientId, const OpenAB::SecureString &clientSecret, const OpenAB::SecureString &refreshToken)
Obtains new access token, based on provided data.
Definition: OAuth2HttpAuthorizer.cpp:25
HttpMessage class. Represents Http request that can be executed using HttpSession object...
Definition: Http.hpp:95
bool authorizeMessage(HttpMessage *curl)
Authorizes message.
Definition: OAuth2HttpAuthorizer.cpp:84