10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
OIDCResourceOwnerPasswordRequest.h
1#ifndef TENDUKE_OIDC_ROPG_OIDCRESOURCEOWNERPASSWORDREQUEST_H
2#define TENDUKE_OIDC_ROPG_OIDCRESOURCEOWNERPASSWORDREQUEST_H
3
4#include "oauth/ropg/OAuthResourceOwnerPasswordRequest.h"
5#include "oidc/OIDCAuthenticationRequest.h"
6#include "oidc/OIDCState.h"
7#include "oidc/impl/BaseOIDCRequest.h"
8
9#include <memory>
10
11namespace tenduke { namespace oidc { namespace ropg {
12
15{
16public:
18 const std::shared_ptr<const ::tenduke::oidc::OIDCConfiguration> &oidcConfiguration,
19 const std::shared_ptr<const ::tenduke::jwt::JWTParser> &jwtParser,
20 const std::string &nonce,
21 std::unique_ptr<const ::tenduke::oauth::ropg::OAuthResourceOwnerPasswordRequest> request
22 );
23
24public:
25 virtual std::unique_ptr<::tenduke::oidc::OIDCState> accessTokenRequest();
26 virtual void cancel();
27
28private:
29 const std::unique_ptr<const ::tenduke::oauth::ropg::OAuthResourceOwnerPasswordRequest> request;
30};
31
32}}}
33
34#endif //TENDUKE_OIDC_ROPG_OIDCRESOURCEOWNERPASSWORDREQUEST_H
Base class for OIDC requests.
Definition BaseOIDCRequest.h:18
const std::shared_ptr< const tenduke::oidc::OIDCConfiguration > oidcConfiguration
OIDC-configuration.
Definition BaseOIDCRequest.h:55
OIDC-request, which handles the OIDC-flow.
Definition OIDCAuthenticationRequest.h:13
Definition OIDCResourceOwnerPasswordRequest.h:15
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4