1#ifndef TENDUKE_OAUTH_OAUTHCONFIGURATION_H
2#define TENDUKE_OAUTH_OAUTHCONFIGURATION_H
4#include "./OAuthBackendConfiguration.h"
5#include "./OAuthClientConfiguration.h"
Container for OAuth-backend configuration.
Definition OAuthBackendConfiguration.h:17
const std::string tokenEndpointUrl
URL for the OAuth 2 token endpoint.
Definition OAuthBackendConfiguration.h:41
const std::string deviceAuthorizationEndpointUrl
URL for the OAuth 2 device authorization endpoint.
Definition OAuthBackendConfiguration.h:38
const std::string authorizationEndpointUrl
URL for the OAuth 2 authorization endpoint.
Definition OAuthBackendConfiguration.h:35
Container for OAuth-client-configuration.
Definition OAuthClientConfiguration.h:17
enum OAuthFlow flow
The flow.
Definition OAuthClientConfiguration.h:55
const std::string clientSecret
(Optional) OAuth 2 client secret, configured also in the server.
Definition OAuthClientConfiguration.h:50
const std::string clientId
OAuth 2 client id, configured also in the server.
Definition OAuthClientConfiguration.h:48
const std::string redirectURI
OAuth2 redirect-URI for browser-based based authentication.
Definition OAuthClientConfiguration.h:52
OAuthFlow
Type of the OAuth flow.
Definition OAuthClientConfiguration.h:22
Container for OAuth-configuration.
Definition OAuthConfiguration.h:17
OAuthConfiguration(std::string authorizationEndpointUrl, std::string tokenEndpointUrl, std::string clientId, std::string clientSecret, std::string redirectURI, const enum tenduke::oauth::OAuthClientConfiguration::OAuthFlow flow, const std::string &deviceAuthorizationEndpointUrl="")
Constructs new instance.
Definition OAuthConfiguration.h:29
OAuthConfiguration(const OAuthBackendConfiguration &backendConfiguration, const OAuthClientConfiguration &clientConfiguration)
Constructs new instance.
Definition OAuthConfiguration.h:46
OAuth services.
Definition AccessTokenRequestAuthenticator.h:8
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7