10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
OIDCClientCredentialsGrantLogin.h
1#ifndef TENDUKE_OIDC_CCG_OIDCCLIENTCREDENTIALSGRANTLOGIN_H
2#define TENDUKE_OIDC_CCG_OIDCCLIENTCREDENTIALSGRANTLOGIN_H
3
4#include "../session/OIDCLogin.h"
5#include "../../oauth/ccg/OAuthClientCredentialsGrantFlow.h"
6
7#include <memory>
8
9namespace tenduke { namespace oidc { namespace ccg {
10
15{
16public:
22 const std::shared_ptr<::tenduke::oauth::ccg::OAuthClientCredentialsGrantFlow> &oauth
23 );
24
25public:
26 std::unique_ptr<::tenduke::oidc::OIDCLoginRequest> login() const override;
27
28private:
29 const std::shared_ptr<::tenduke::oauth::ccg::OAuthClientCredentialsGrantFlow> oauth;
30};
31
32}}}
33
34#endif //TENDUKE_OIDC_CCG_OIDCCLIENTCREDENTIALSGRANTLOGIN_H
High-level service to perform OIDC-login.
Definition OIDCLogin.h:13
OIDCLogin-service using OIDCClientCredentialsGrantFlow.
Definition OIDCClientCredentialsGrantLogin.h:15
std::unique_ptr<::tenduke::oidc::OIDCLoginRequest > login() const override
Starts the login process by creating a login request.
Definition OIDCClientCredentialsGrantLogin.cpp:10
OAuth services.
Definition AccessTokenRequestAuthenticator.h:8
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4