10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
OIDCClientCredentialsGrantLoginRequest.h
1#ifndef TENDUKE_OIDC_CCG_OIDCCLIENTCREDENTIALSGRANTLOGINREQUEST_H
2#define TENDUKE_OIDC_CCG_OIDCCLIENTCREDENTIALSGRANTLOGINREQUEST_H
3
4#include "../impl/BaseOIDCRequest.h"
5#include "../session/OIDCLoginRequest.h"
6#include "../../oauth/ccg/OAuthClientCredentialsGrantRequest.h"
7
8namespace tenduke { namespace oidc { namespace ccg {
9
14{
15public:
20 explicit OIDCClientCredentialsGrantLoginRequest(std::unique_ptr<const ::tenduke::oauth::ccg::OAuthClientCredentialsGrantRequest> request);
21
22 // `tenduke::oidc::OIDCLoginRequest` interface
23public:
24 std::unique_ptr<::tenduke::oidc::OIDCState> execute() override;
25 void abort() override;
26
27private:
28 const std::unique_ptr<const ::tenduke::oauth::ccg::OAuthClientCredentialsGrantRequest> request;
29};
30
31}}}
32
33#endif //TENDUKE_OIDC_CCG_OIDCCLIENTCREDENTIALSGRANTLOGINREQUEST_H
Login-request initiated by OIDCLogin-service.
Definition OIDCLoginRequest.h:15
OIDC-login request using OAuth Client Credentials Grant.
Definition OIDCClientCredentialsGrantLoginRequest.h:14
std::unique_ptr<::tenduke::oidc::OIDCState > execute() override
Performs the login.
Definition OIDCClientCredentialsGrantLoginRequest.cpp:9
void abort() override
Aborts the login.
Definition OIDCClientCredentialsGrantLoginRequest.cpp:20
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4