mirror of
https://github.com/arun11299/cpp-jwt.git
synced 2025-05-15 01:08:31 +00:00
Exception and non exception based decoding
This commit is contained in:
parent
7a511c46fe
commit
c484ced63d
4 changed files with 53 additions and 6 deletions
|
@ -26,7 +26,8 @@ enum class AlgorithmFailureSource
|
|||
*/
|
||||
enum class DecodeErrc
|
||||
{
|
||||
JsonParseError = 1,
|
||||
EmptyAlgoList = 1,
|
||||
JsonParseError,
|
||||
AlgHeaderMiss,
|
||||
TypHeaderMiss,
|
||||
TypMismatch,
|
||||
|
@ -42,6 +43,7 @@ enum class VerificationErrc
|
|||
InvalidIssuer,
|
||||
InvalidAudience,
|
||||
ImmatureSignature,
|
||||
InvalidSignature,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue