| 
    10Duke Enterprise C++ Client
    
   | 
 
#include <DefaultJWTParserFactory.h>
Default implementation of tenduke::jwt::JWTParserFactory. 
  
Public Member Functions | |
| DefaultJWTParserFactory (const std::shared_ptr< const tenduke::utl::Base64Decoder > &base64Decoder, const std::shared_ptr< const tenduke::json::JSONParser > &jsonParser) | |
| Constructs new instance.   | |
| std::unique_ptr< const tenduke::jwt::JWTParser > | create () const override | 
Creates tenduke::jwt::JWTParser, which does not validate signature.   | |
| std::unique_ptr< const tenduke::jwt::JWTParser > | create (const std::shared_ptr< const tenduke::crypto::PublicKey > &publicKey, tenduke::crypto::MessageDigest::Algorithm algorithm) const override | 
Creates a tenduke::jwt::JWTParser, which validates the signature with given public key and message digest algorithm.   | |
| std::unique_ptr< const tenduke::jwt::JWTParser > | create (const std::shared_ptr< tenduke::jwt::JWTSignatureValidator > &signatureValidator) const override | 
Creates a tenduke::jwt::JWTParser, which validates the signature with given validator.   | |
| tenduke::jwt::DefaultJWTParserFactory::DefaultJWTParserFactory | ( | const std::shared_ptr< const tenduke::utl::Base64Decoder > & | base64Decoder, | 
| const std::shared_ptr< const tenduke::json::JSONParser > & | jsonParser ) | 
Constructs new instance.
| base64Decoder | - | 
| jsonParser | - | 
      
  | 
  overridevirtual | 
Creates tenduke::jwt::JWTParser, which does not validate signature. 
Implements tenduke::jwt::JWTParserFactory.
      
  | 
  overridevirtual | 
Creates a tenduke::jwt::JWTParser, which validates the signature with given public key and message digest algorithm. 
| publicKey | - | 
| algorithm | - | 
Implements tenduke::jwt::JWTParserFactory.
      
  | 
  overridevirtual | 
Creates a tenduke::jwt::JWTParser, which validates the signature with given validator. 
| signatureValidator | - | 
Implements tenduke::jwt::JWTParserFactory.