diff --git a/include/jwt-cpp/jwt.h b/include/jwt-cpp/jwt.h index e53450cd..7b12b546 100644 --- a/include/jwt-cpp/jwt.h +++ b/include/jwt-cpp/jwt.h @@ -3502,6 +3502,14 @@ namespace jwt { } bool empty() const noexcept { return jwk_claims.empty(); } + + /** + * Get all jwk claims + * \return Map of claims + */ + std::unordered_map get_claims() const { + return this->jwk_claims.get_claims(); + } }; /**