10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
JWKSParser.h
1
#ifndef TENDUKE_JWK_JWKSPARSER_H
2
#define TENDUKE_JWK_JWKSPARSER_H
3
4
#include "./JWK.h"
5
#include "./JWKS.h"
6
#include "./JWKParser.h"
7
8
#include "json/JSONParser.h"
9
10
#include <memory>
11
#include <vector>
12
13
namespace
tenduke
{
namespace
jwk
{
14
20
class
JWKSParser
{
21
22
public
:
28
JWKSParser
(
29
const
std::shared_ptr<const tenduke::json::JSONParser> &jsonParser,
30
const
std::shared_ptr<const tenduke::jwk::JWKParser> &jwkParser
31
);
32
41
virtual
std::unique_ptr<tenduke::jwk::JWKS>
from
(
const
std::string &jwksDocument)
const
;
42
43
private
:
44
std::shared_ptr<const tenduke::json::JSONParser> parseJSON;
45
std::shared_ptr<const tenduke::jwk::JWKParser> parseJWK;
46
};
47
48
49
}}
50
51
#endif
//TENDUKE_JWK_JWKSPARSER_H
JWKSParser::JWKSParser
JWKSParser(const std::shared_ptr< const tenduke::json::JSONParser > &jsonParser, const std::shared_ptr< const tenduke::jwk::JWKParser > &jwkParser)
Constructs new instance.
Definition
JWKSParser.cpp:10
tenduke::jwk::JWKSParser::JWKSParser
JWKSParser(const std::shared_ptr< const tenduke::json::JSONParser > &jsonParser, const std::shared_ptr< const tenduke::jwk::JWKParser > &jwkParser)
Constructs new instance.
Definition
JWKSParser.cpp:10
tenduke::jwk::JWKSParser::from
virtual std::unique_ptr< tenduke::jwk::JWKS > from(const std::string &jwksDocument) const
Parses JWKS-document and returns the keys as a list.
Definition
JWKSParser.cpp:17
tenduke::jwk
Support for JSON Web Keys.
Definition
DynamicJWKSSignatureValidator.h:9
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
core
core
src
jwk
JWKSParser.h
Generated by
1.17.0