Conscience Core
Namespaces | Functions
jwt::base Namespace Reference

A collection of fellable functions for working with base64 and base64url. More...

Namespaces

 details
 

Functions

template<typename T >
std::string encode (const std::string &bin)
 
template<typename T >
std::string decode (const std::string &base)
 
template<typename T >
std::string pad (const std::string &base)
 
template<typename T >
std::string trim (const std::string &base)
 

Detailed Description

A collection of fellable functions for working with base64 and base64url.

Function Documentation

◆ decode()

template<typename T >
std::string jwt::base::decode ( const std::string &  base)

◆ encode()

template<typename T >
std::string jwt::base::encode ( const std::string &  bin)

◆ pad()

template<typename T >
std::string jwt::base::pad ( const std::string &  base)

◆ trim()

template<typename T >
std::string jwt::base::trim ( const std::string &  base)