"none" algorithm.
More...
#include <goby/util/thirdparty/jwt-cpp/jwt.h>
|
std::string | sign (const std::string &, std::error_code &ec) const |
| Return an empty string. More...
|
|
void | verify (const std::string &, const std::string &signature, std::error_code &ec) const |
| Check if the given signature is empty. More...
|
|
std::string | name () const |
| Get algorithm name. More...
|
|
"none" algorithm.
Returns and empty signature and checks if the given signature is empty.
Definition at line 915 of file jwt.h.
◆ name()
std::string jwt::algorithm::none::name |
( |
| ) |
const |
|
inline |
Get algorithm name.
Definition at line 942 of file jwt.h.
◆ sign()
std::string jwt::algorithm::none::sign |
( |
const std::string & |
, |
|
|
std::error_code & |
ec |
|
) |
| const |
|
inline |
Return an empty string.
Definition at line 920 of file jwt.h.
◆ verify()
void jwt::algorithm::none::verify |
( |
const std::string & |
, |
|
|
const std::string & |
signature, |
|
|
std::error_code & |
ec |
|
) |
| const |
|
inline |
Check if the given signature is empty.
JWT's with "none" algorithm should not contain a signature.
- Parameters
-
signature | Signature data to verify |
ec | error_code filled with details about the error |
Definition at line 932 of file jwt.h.
The documentation for this struct was generated from the following file:
- goby/util/thirdparty/jwt-cpp/jwt.h