10Duke Enterprise C++ Client
|
#include <BaseOIDCRequest.h>
Base class for OIDC requests.
Public Member Functions | |
BaseOIDCRequest (const std::shared_ptr< const tenduke::oidc::OIDCConfiguration > &oidcConfiguration, const std::shared_ptr< const tenduke::jwt::JWTParser > &jwtParser, std::string nonce) | |
Constructs new instance. | |
Protected Member Functions | |
virtual std::unique_ptr< tenduke::oidc::OIDCState > | toOIDCState (tenduke::oauth::OAuthState &oauthState) const |
Creates OIDCState from OAuthState. | |
virtual tenduke::oidc::IdToken | parseIdToken (const std::string &serializedIdToken, const std::string &expectedNonce) const |
Parses id token. | |
Protected Attributes | |
const std::shared_ptr< const tenduke::oidc::OIDCConfiguration > | oidcConfiguration |
OIDC-configuration. | |
const std::shared_ptr< const tenduke::jwt::JWTParser > | parseJWT |
JWT parser. | |
tenduke::oidc::BaseOIDCRequest::BaseOIDCRequest | ( | const std::shared_ptr< const tenduke::oidc::OIDCConfiguration > & | oidcConfiguration, |
const std::shared_ptr< const tenduke::jwt::JWTParser > & | jwtParser, | ||
std::string | nonce | ||
) |
Constructs new instance.
oidcConfiguration | - |
jwtParser | - |
nonce | - |
|
protectedvirtual |
Parses id token.
serializedIdToken | - |
expectedNonce | - |
|
protectedvirtual |