10Duke Scale C++ Client
All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
OAuthBrowserFlow.h
1#ifndef TENDUKE_OAUTH_OAUTHBROWSERFLOW_H
2#define TENDUKE_OAUTH_OAUTHBROWSERFLOW_H
3
4#include "./OAuthBrowserAuthorizationRequest.h"
5#include "./OAuthClient.h"
6#include "./OAuthRefreshRequest.h"
7#include "./OAuthState.h"
8
9#include <map>
10#include <memory>
11
12namespace tenduke { namespace oauth {
13
14
40{
41public:
47 virtual std::unique_ptr<const tenduke::oauth::OAuthBrowserAuthorizationRequest> authorize(const std::string &scopes) const = 0;
48
55 virtual std::unique_ptr<const tenduke::oauth::OAuthBrowserAuthorizationRequest> authorize(
56 const std::string &scopes,
57 const std::map<std::string, std::string> &additionalParameters
58 ) const = 0;
59};
60
61
62}}
63
64#endif // TENDUKE_OAUTH_OAUTHBROWSERFLOW_H
OAuth-client to initiate OAuth authorization flow.
Definition OAuthBrowserFlow.h:40
virtual std::unique_ptr< const tenduke::oauth::OAuthBrowserAuthorizationRequest > authorize(const std::string &scopes) const =0
Creates OAuthRequest to start the OAuth-authorization flow.
virtual std::unique_ptr< const tenduke::oauth::OAuthBrowserAuthorizationRequest > authorize(const std::string &scopes, const std::map< std::string, std::string > &additionalParameters) const =0
Creates OAuthRequest to start the OAuth-authorization flow.
OAuth-client to initiate OAuth authorization flow.
Definition OAuthClient.h:19
OAuth services.
Definition AccessTokenRequestAuthenticator.h:8
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7