10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
ConsoleOIDCLogin.h
1#ifndef TENDUKE_DEMO_CONSOLEOIDCLOGIN_H
2#define TENDUKE_DEMO_CONSOLEOIDCLOGIN_H
3
4#include "oidc/OIDCBrowserFlow.h"
5#include "oidc/session/OIDCLogin.h"
6#include <memory>
7
8namespace tenduke { namespace demo {
9
14{
15public:
16 explicit ConsoleOIDCLogin(const std::shared_ptr<::tenduke::oidc::OIDCBrowserFlow> &oidcClient);
17
18public:
19 std::unique_ptr<::tenduke::oidc::OIDCLoginRequest> login() const override;
20
21private:
22 std::shared_ptr<::tenduke::oidc::OIDCBrowserFlow> oidcClient;
24 std::string oauthRedirectURI;
25};
26
27}}
28
29#endif //TENDUKE_DEMO_CONSOLEOIDCLOGIN_H
Custom OIDC-login service.
Definition ConsoleOIDCLogin.h:14
std::unique_ptr<::tenduke::oidc::OIDCLoginRequest > login() const override
Starts the login process by creating a login request.
Definition ConsoleOIDCLogin.cpp:7
High-level service to perform OIDC-login.
Definition OIDCLogin.h:13
Examples.
Definition demo_utils.h:14
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4