Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arun11299/cpp-jwt
/ functions
Functions
600 in github.com/arun11299/cpp-jwt
⨍
Functions
600
◇
Types & classes
221
↓ 3 callers
Function
cbegin
! @brief returns a const iterator to the first element Returns a const iterator to the first element. @image html range-begin-end.svg "I
include/jwt/json/json.hpp:21006
↓ 3 callers
Function
is_number_float
! @brief return whether value is a floating-point number This function returns true if and only if the JSON value is a floating-point num
include/jwt/json/json.hpp:19029
↓ 3 callers
Function
is_number_integer
! @brief return whether value is an integer number This function returns true if and only if the JSON value is a signed or unsigned integ
include/jwt/json/json.hpp:18973
↓ 3 callers
Method
moved_or_copied
include/jwt/json/json.hpp:12565
↓ 3 callers
Method
set_end
! @brief set the iterator past the last value @pre The iterator is initialized; i.e. `m_object != nullptr`. */
include/jwt/json/json.hpp:10977
↓ 3 callers
Method
size
* The size of the internal storage buffer. */
include/jwt/stack_alloc.hpp:92
↓ 3 callers
Function
sub
*/
include/jwt/parameters.hpp:410
↓ 3 callers
Function
type_to_str
* Converts an instance of type `enum class type` * to its string equivalent. */
include/jwt/jwt.hpp:82
↓ 3 callers
Function
unget
! @brief unget current character (read it again on next get) We implement unget by setting variable next_unget to true. The input is not
include/jwt/json/json.hpp:7245
↓ 3 callers
Function
validate_iat
*/
include/jwt/parameters.hpp:418
↓ 2 callers
Method
add_header
include/jwt/jwt.hpp:375
↓ 2 callers
Function
aud
*/
include/jwt/parameters.hpp:394
↓ 2 callers
Method
base64_decode
* Does URL safe base64 decoding. */
include/jwt/jwt.hpp:256
↓ 2 callers
Method
base64_encode
* Does URL safe base64 encoding */
include/jwt/jwt.hpp:242
↓ 2 callers
Function
compute_boundaries
include/jwt/json/json.hpp:14521
↓ 2 callers
Method
copy
NOTE: Does not throw
include/jwt/string_view.hpp:192
↓ 2 callers
Method
decode
! @brief check whether a string is UTF-8 encoded The function checks each byte of a string whether it is UTF-8 encoded. The result of the
include/jwt/json/json.hpp:16298
↓ 2 callers
Function
emplace
include/jwt/json/json.hpp:21954
↓ 2 callers
Method
encode
* Get the URL safe base64 encoded string * of the header. */ TODO: error code ?
include/jwt/jwt.hpp:438
↓ 2 callers
Function
from_json_array_impl
include/jwt/json/json.hpp:3574
↓ 2 callers
Method
front
include/jwt/string_view.hpp:148
↓ 2 callers
Method
get
include/jwt/parameters.hpp:263
↓ 2 callers
Function
get_impl_ptr
get a pointer to the value (object)
include/jwt/json/json.hpp:19194
↓ 2 callers
Function
grisu2
include/jwt/json/json.hpp:15162
↓ 2 callers
Function
grisu2_round
include/jwt/json/json.hpp:14880
↓ 2 callers
Method
has_header
* Checks if header with the given name * is present or not. */
include/jwt/jwt.hpp:426
↓ 2 callers
Method
is_end
return whether the iterator is at end
include/jwt/json/json.hpp:10671
↓ 2 callers
Method
is_errored
include/jwt/json/json.hpp:5453
↓ 2 callers
Function
is_number_unsigned
! @brief return whether value is an unsigned integer number This function returns true if and only if the JSON value is an unsigned integ
include/jwt/json/json.hpp:19001
↓ 2 callers
Function
little_endianess
! @brief determine system byte order @return true if and only if system's byte order is little endian @note from https://stackoverflow.com/a/1001328
include/jwt/json/json.hpp:7681
↓ 2 callers
Function
read_from_file
examples/simple_ex3_rsa.cc:15
↓ 2 callers
Function
reset
reset token_buffer; current character is beginning of token
include/jwt/json/json.hpp:7191
↓ 2 callers
Method
set_begin
! @brief set the iterator to the first value @pre The iterator is initialized; i.e. `m_object != nullptr`. */
include/jwt/json/json.hpp:10940
↓ 2 callers
Method
set_subtype
! @brief sets the binary subtype Sets the binary subtype of the value, also flags a binary JSON value as having a subtype, which has impl
include/jwt/json/json.hpp:4492
↓ 2 callers
Function
size
! @brief returns the number of elements Returns the number of elements in a JSON value. @return The return value depends on the differen
include/jwt/json/json.hpp:21494
↓ 2 callers
Function
skip_whitespace
include/jwt/json/json.hpp:7371
↓ 2 callers
Function
str_to_alg
* Convert stringified algorithm to enum class. * The string comparison is case insesitive. */
include/jwt/algorithm.hpp:250
↓ 2 callers
Method
swap
include/jwt/string_view.hpp:177
↓ 2 callers
Method
write_bson
! @param[in] j JSON value to serialize @pre j.type() == value_t::object */
include/jwt/json/json.hpp:12773
↓ 2 callers
Method
write_cbor
! @param[in] j JSON value to serialize */
include/jwt/json/json.hpp:12793
↓ 2 callers
Method
write_msgpack
! @param[in] j JSON value to serialize */
include/jwt/json/json.hpp:13098
↓ 2 callers
Method
write_ubjson
! @param[in] j JSON value to serialize @param[in] use_count whether to use '#' prefixes (optimized format) @param[in] use_type wheth
include/jwt/json/json.hpp:13422
↓ 1 callers
Function
append_exponent
include/jwt/json/json.hpp:15262
↓ 1 callers
Function
at
! @brief access specified array element with bounds checking Returns a reference to the element at specified location @a idx, with bounds
include/jwt/json/json.hpp:19793
↓ 1 callers
Function
base64_test_decode
include/jwt/test/test_base64.cc:25
↓ 1 callers
Function
base64_test_encode
include/jwt/test/test_base64.cc:6
↓ 1 callers
Function
base64_uri_decode
* Decodes an input URL safe base64 encoded byte string. * * NOTE: To be used only for decoding URL safe base64 encoded * byte string. * * Argumen
include/jwt/base64.hpp:301
↓ 1 callers
Function
base64_uri_encode
* Makes the base64 encoded byte string URL safe. * Overwrites/skips few URL unsafe characters * from the input sequence. * * Arguments: * @data
include/jwt/base64.hpp:268
↓ 1 callers
Function
basic_cons
include/jwt/test/test_sv.cc:9
↓ 1 callers
Function
basic_decode_test
include/jwt/test/test_jwt_decode.cc:4
↓ 1 callers
Function
basic_hmac_test
include/jwt/test/test_hmac.cc:4
↓ 1 callers
Function
basic_json_test
include/jwt/json/test_json.cc:10
↓ 1 callers
Function
basic_jwt_object_test
include/jwt/test/test_jwt_object.cc:9
↓ 1 callers
Function
basic_payload_test
include/jwt/test/test_jwt_payload.cc:4
↓ 1 callers
Function
basic_rsa_test
include/jwt/test/test_rsa.cc:34
↓ 1 callers
Function
basic_sign_test
include/jwt/test/test_jwt_signature.cc:4
↓ 1 callers
Method
compare
Comparison Member Functions
include/jwt/string_view.hpp:217
↓ 1 callers
Function
comparisons
include/jwt/test/test_sv.cc:149
↓ 1 callers
Function
conversions
include/jwt/test/test_sv.cc:128
↓ 1 callers
Function
crbegin
! @brief returns a const reverse iterator to the last element Returns a const iterator to the reverse-beginning; that is, the last elemen
include/jwt/json/json.hpp:21181
↓ 1 callers
Function
crend
! @brief returns a const reverse iterator to one before the first Returns a const reverse iterator to the reverse-end; that is, one before
include/jwt/json/json.hpp:21210
↓ 1 callers
Function
decoding_size
Returns the maximum number of bytes required to store a decoded base64 byte string.
include/jwt/base64.hpp:46
↓ 1 callers
Function
emplace_back
include/jwt/json/json.hpp:21901
↓ 1 callers
Function
encoding_size
Returns the maximum number of bytes required to encode an input byte string of length `n` to base64.
include/jwt/base64.hpp:37
↓ 1 callers
Function
erase
include/jwt/json/json.hpp:20516
↓ 1 callers
Method
find_first_not_of
include/jwt/string_view.hpp:313
↓ 1 callers
Function
find_largest_pow10
! For n != 0, returns k, such that pow10 := 10^(k-1) <= n < 10^k. For n == 0, returns 1 and sets pow10 := 1. */
include/jwt/json/json.hpp:14824
↓ 1 callers
Function
find_oper
include/jwt/test/test_sv.cc:76
↓ 1 callers
Function
format_buffer
include/jwt/json/json.hpp:15314
↓ 1 callers
Function
from_json_tuple_impl
include/jwt/json/json.hpp:3733
↓ 1 callers
Function
get_cached_power_for_binary_exponent
! For a normalized diyfp w = f * 2^e, this function returns a (normalized) cached power-of-ten c = f_c * 2^e_c, such that the exponent of the product
include/jwt/json/json.hpp:14660
↓ 1 callers
Method
get_value
include/jwt/json/json.hpp:10647
↓ 1 callers
Function
grisu2_digit_gen
! Generates V = buffer * 10^decimal_exponent, such that M- <= V <= M+. M- and M+ must be normalized and share the same exponent -60 <= e <= -32. */
include/jwt/json/json.hpp:14921
↓ 1 callers
Function
hash
include/jwt/json/json.hpp:4613
↓ 1 callers
Function
headers
*/
include/jwt/parameters.hpp:332
↓ 1 callers
Function
int_to_string
include/jwt/json/json.hpp:3835
↓ 1 callers
Function
is_number
! @brief return whether value is a number This function returns true if and only if the JSON value is a number. This includes both intege
include/jwt/json/json.hpp:18944
↓ 1 callers
Function
iterator_test
include/jwt/test/test_sv.cc:29
↓ 1 callers
Method
operator+
add to iterator
include/jwt/json/json.hpp:11491
↓ 1 callers
Function
operator+=
! @brief add an object to an array @copydoc push_back(basic_json&&) */
include/jwt/json/json.hpp:21738
↓ 1 callers
Function
operator<
! @brief comparison operator for JSON types Returns an ordering that is similar to Python: - order: null < boolean < number < object < array < string
include/jwt/json/json.hpp:3404
↓ 1 callers
Function
parse
include/jwt/json/json.hpp:23187
↓ 1 callers
Function
rbegin
! @brief returns an iterator to the reverse-beginning Returns an iterator to the reverse-beginning; that is, the last element. @image ht
include/jwt/json/json.hpp:21107
↓ 1 callers
Method
rbegin
include/jwt/string_view.hpp:116
↓ 1 callers
Method
remove_header
* Remove the header from JWT. * NOTE: Special handling for removing type field * from header. The typ_ is set to NONE when removed. */
include/jwt/jwt.hpp:404
↓ 1 callers
Method
remove_prefix
Modifier Member Functions
include/jwt/string_view.hpp:164
↓ 1 callers
Method
remove_suffix
include/jwt/string_view.hpp:171
↓ 1 callers
Function
rend
! @brief returns an iterator to the reverse-end Returns an iterator to the reverse-end; that is, one before the first element. @imag
include/jwt/json/json.hpp:21144
↓ 1 callers
Method
rend
include/jwt/string_view.hpp:117
↓ 1 callers
Method
rfind
include/jwt/string_view.hpp:265
↓ 1 callers
Function
sax_parse
include/jwt/json/json.hpp:23291
↓ 1 callers
Function
skip_bom
! @brief skip the UTF-8 byte order mark @return true iff there is no BOM or the correct BOM has been skipped */
include/jwt/json/json.hpp:7357
↓ 1 callers
Function
split
! @brief split the string input to reference tokens @note This function is only called by the json_pointer constructor. All excepti
include/jwt/json/json.hpp:12276
↓ 1 callers
Function
str_operations
include/jwt/test/test_sv.cc:37
↓ 1 callers
Function
str_to_type
* Converts a string representing a value of type * `enum class type` into its actual type. */
include/jwt/jwt.hpp:67
↓ 1 callers
Function
test_basic_header
include/jwt/test/test_jwt_header.cc:4
↓ 1 callers
Function
to_cbor
include/jwt/json/json.hpp:23558
↓ 1 callers
Function
to_json_tuple_impl
include/jwt/json/json.hpp:4336
↓ 1 callers
Function
unescape
unescape "~1" to tilde and "~0" to slash (order is important!)
include/jwt/json/json.hpp:12371
Method
Arena
'tors
include/jwt/stack_alloc.hpp:49
← previous
next →
101–200 of 600, ranked by callers