10Duke Scale C++ Client
All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
OAuthClient.h
1#ifndef TENDUKE_OAUTH_OAUTHCLIENT_H
2#define TENDUKE_OAUTH_OAUTHCLIENT_H
3
4#include "./OAuthRefreshRequest.h"
5#include "./OAuthAuthorizationRequest.h"
6#include "./OAuthState.h"
7
8#include <map>
9#include <memory>
10
11namespace tenduke { namespace oauth {
12
19{
20public:
21 virtual ~OAuthClient() = default;
22
30 virtual std::unique_ptr<const tenduke::oauth::OAuthRefreshRequest> refresh(
31 std::shared_ptr<tenduke::oauth::OAuthState> state
32 ) const= 0;
33};
34
35
36}}
37
38#endif // TENDUKE_OAUTH_OAUTHCLIENT_H
OAuth-client to initiate OAuth authorization flow.
Definition OAuthClient.h:19
virtual std::unique_ptr< const tenduke::oauth::OAuthRefreshRequest > refresh(std::shared_ptr< tenduke::oauth::OAuthState > state) const =0
Creates OAuthRefreshRequest for refreshing the state.
OAuth services.
Definition AccessTokenRequestAuthenticator.h:8
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7