10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
ConsoleOIDCLoginRequest.h
1#ifndef TENDUKE_DEMO_CONSOLEOIDCLOGINREQUEST_H
2#define TENDUKE_DEMO_CONSOLEOIDCLOGINREQUEST_H
3
4#include "oidc/OIDCBrowserFlow.h"
5#include "oidc/session/OIDCLoginRequest.h"
6
7namespace tenduke { namespace demo {
8
15{
16public:
17 ConsoleOIDCLoginRequest(const std::shared_ptr<::tenduke::oidc::OIDCBrowserFlow> &oidcClient,
18 const std::string &oauthRedirectUri);
19
20public:
21 std::unique_ptr<tenduke::oidc::OIDCState> execute() override;
22
23 void abort() override;
24
25private:
26 const std::shared_ptr<::tenduke::oidc::OIDCBrowserFlow> oidcClient;
28 const std::string oauthRedirectURI;
29};
30
31}} // demo
32
33#endif //TENDUKE_DEMO_CONSOLEOIDCLOGINREQUEST_H
Simple OIDC-login request, which uses console and any browser with developer tools to demonstrate how...
Definition ConsoleOIDCLoginRequest.h:15
void abort() override
Aborts the login.
Definition ConsoleOIDCLoginRequest.cpp:39
std::unique_ptr< tenduke::oidc::OIDCState > execute() override
Performs the login.
Definition ConsoleOIDCLoginRequest.cpp:7
Login-request initiated by OIDCLogin-service.
Definition OIDCLoginRequest.h:15
Examples.
Definition demo_utils.h:14
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4