1#ifndef TENDUKE_JWT_DEFAULTJWTPARSER_H 
    2#define TENDUKE_JWT_DEFAULTJWTPARSER_H 
    4#include "./JWTParser.h" 
    5#include "./JWTSignatureValidator.h" 
    6#include "json/JSONParser.h" 
    7#include "utl/Base64Decoder.h" 
   26            std::shared_ptr<const tenduke::json::JSONParser> jsonParser,
 
   27            std::shared_ptr<const tenduke::utl::Base64Decoder> base64Decoder,
 
   28            std::shared_ptr<const tenduke::jwt::JWTSignatureValidator> signatureValidator
 
   36    const std::shared_ptr<const tenduke::json::JSONParser> parseJson;
 
   37    const std::shared_ptr<const tenduke::utl::Base64Decoder> base64;
 
   38    const std::shared_ptr<const tenduke::jwt::JWTSignatureValidator> signature;
 
 
 
DefaultJWTParser(std::shared_ptr< const tenduke::json::JSONParser > jsonParser, std::shared_ptr< const tenduke::utl::Base64Decoder > base64Decoder, std::shared_ptr< const tenduke::jwt::JWTSignatureValidator > signatureValidator)
Constructs new instance.
Definition DefaultJWTParser.cpp:24
 
tenduke::jwt::JWT from(const std::string &value) const override
Parses tenduke::jwt::JWT from given string.
Definition DefaultJWTParser.cpp:33
 
DefaultJWTParser(std::shared_ptr< const tenduke::json::JSONParser > jsonParser, std::shared_ptr< const tenduke::utl::Base64Decoder > base64Decoder, std::shared_ptr< const tenduke::jwt::JWTSignatureValidator > signatureValidator)
Constructs new instance.
Definition DefaultJWTParser.cpp:24
 
Parses JWT.
Definition JWTParser.h:15
 
Very simple JWT implementation.
Definition JWT.h:32
 
Support for JSON Web Tokens.
Definition DefaultJWTParser.h:11
 
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4