jwt_str_alg

Convert alg string to type.

Returns an alg type based on the string representation.

@param alg A valid string algorithm type (e.g. "RS256"). @returns Returns an alg type matching the string or JWT_ALG_INVAL if no matches were found.

Note, this only works for algorithms that LibJWT supports or knows about.

extern (C) nothrow @nogc
jwt_str_alg
(
const(char)* alg
)

Meta