MCPcopy Create free account
hub / github.com/Thalhammer/jwt-cpp / has_algorithm

Method has_algorithm

include/jwt-cpp/jwt.h:3993–3993  ·  view source on GitHub ↗

* Check if algorithm is present ("alg") * \return true if present, false otherwise */

Source from the content-addressed store, hash-verified

3991 * \return true if present, false otherwise
3992 */
3993 bool has_algorithm() const noexcept { return has_jwk_claim("alg"); }
3994
3995 /**
3996 * Check if curve is present ("crv")

Callers 8

TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 8

TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36