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
↓ 157 callers
Function
create
include/jwt/json/json.hpp:17401
↓ 122 callers
Method
write_character
include/jwt/json/json.hpp:12652
↓ 105 callers
Method
size
include/jwt/json/json.hpp:2691
↓ 104 callers
Method
add_claim
include/jwt/jwt.hpp:539
↓ 88 callers
Function
secret
*/
include/jwt/parameters.hpp:304
↓ 85 callers
Method
data
include/jwt/string_view.hpp:158
↓ 61 callers
Method
end
return iterator end (needed for range-based for)
include/jwt/json/json.hpp:3947
↓ 59 callers
Method
length
include/jwt/string_view.hpp:127
↓ 53 callers
Function
algorithms
*/
include/jwt/parameters.hpp:374
↓ 52 callers
Method
begin
return iterator begin (needed for range-based for)
include/jwt/json/json.hpp:3941
↓ 50 callers
Method
back
include/jwt/string_view.hpp:153
↓ 46 callers
Function
get
include/jwt/json/json.hpp:3956
↓ 44 callers
Method
at
include/jwt/base64.hpp:63
↓ 38 callers
Function
add
add a character to token_buffer
include/jwt/json/json.hpp:7272
↓ 38 callers
Method
push_back
! @brief append an unescaped token at the end of the reference pointer @param[in] token token to add @complexity Amortized constant.
include/jwt/json/json.hpp:11828
↓ 36 callers
Function
type_name
! @brief return the type as string Returns the type name as string to be used in error messages - usually to indicate that a function was
include/jwt/json/json.hpp:23411
↓ 35 callers
Method
empty
! @brief return whether pointer points to the root document @return true iff the JSON pointer points to the root document @complexity Co
include/jwt/json/json.hpp:11853
↓ 32 callers
Function
basic_json
! @brief create an empty value with a given type Create an empty JSON value with a given type. The value will be default initialized with
include/jwt/json/json.hpp:17830
↓ 31 callers
Method
parse_error
include/jwt/json/json.hpp:2463
↓ 31 callers
Function
payload
*/
include/jwt/parameters.hpp:277
↓ 30 callers
Function
verify
*/
include/jwt/parameters.hpp:358
↓ 29 callers
Method
value
! @brief return the value of an iterator @pre The iterator is initialized; i.e. `m_object != nullptr`. */
include/jwt/json/json.hpp:11394
↓ 27 callers
Method
payload
* Sets the payload component object. */
include/jwt/jwt.hpp:914
↓ 26 callers
Method
key
include/jwt/json/json.hpp:5847
↓ 24 callers
Function
assert_invariant
! @brief checks the class invariants This function asserts the class invariants. It needs to be called at the end of every constructor to
include/jwt/json/json.hpp:17710
↓ 24 callers
Method
has_claim
* Provides the glue interface for checking if a claim is present * or not. * * @note: See `jwt_payload::has_claim` for more details. */
include/jwt/jwt.hpp:1035
↓ 24 callers
Function
is_object
! @brief return whether value is an object This function returns true if and only if the JSON value is an object. @return `true` if type
include/jwt/json/json.hpp:19051
↓ 23 callers
Method
find
include/jwt/json/json.hpp:16518
↓ 23 callers
Method
header
* Sets the header component object. */
include/jwt/jwt.hpp:931
↓ 22 callers
Function
end
! @brief returns an iterator to one past the last element Returns an iterator to one past the last element. @image html range-begin-end.
include/jwt/json/json.hpp:21037
↓ 21 callers
Method
operator[]
! @brief access to successor @pre The iterator is initialized; i.e. `m_object != nullptr`. */
include/jwt/json/json.hpp:11347
↓ 19 callers
Method
number_integer
include/jwt/json/json.hpp:5817
↓ 18 callers
Function
input_adapter
include/jwt/json/json.hpp:5088
↓ 18 callers
Method
sax_parse
include/jwt/json/json.hpp:10265
↓ 17 callers
Method
get_token_string
! @return a string representation of the last read byte */
include/jwt/json/json.hpp:10037
↓ 17 callers
Function
to_json
include/jwt/json/json.hpp:4213
↓ 16 callers
Function
is_array
! @brief return whether value is an array This function returns true if and only if the JSON value is an array. @return `true` if type i
include/jwt/json/json.hpp:19073
↓ 16 callers
Function
is_null
! @brief return whether value is null This function returns true if and only if the JSON value is null. @return `true` if type is null,
include/jwt/json/json.hpp:18892
↓ 15 callers
Function
combine
boost::hash_combine
include/jwt/json/json.hpp:4595
↓ 15 callers
Function
from_json
include/jwt/json/json.hpp:3426
↓ 15 callers
Method
get
! @brief get next character from the input This function provides the interface to the used input adapter. It does not throw in case the
include/jwt/json/json.hpp:9890
↓ 15 callers
Function
get_token_string
return the last read token (for errors only). Will never contain EOF (an arbitrary value that is not a valid char value, often -1), because 255 may l
include/jwt/json/json.hpp:7319
↓ 15 callers
Method
pop_back
! @brief remove last reference token @pre not `empty()` @liveexample{The example shows the usage of `pop_back`.,json_pointer__pop_back}
include/jwt/json/json.hpp:11782
↓ 14 callers
Method
erase
include/jwt/json/json.hpp:16473
↓ 14 callers
Method
has_claim_with_value
include/jwt/jwt.hpp:710
↓ 14 callers
Method
number_unsigned
include/jwt/json/json.hpp:5822
↓ 13 callers
Function
begin
! @brief returns an iterator to the first element Returns an iterator to the first element. @image html range-begin-end.svg "Illustratio
include/jwt/json/json.hpp:20966
↓ 11 callers
Method
algo
Exposed APIs * NOTE: Any previously saved json dump or the encoding of the * header would not be valid after modifying the algorithm. */ * Set t
include/jwt/jwt.hpp:314
↓ 11 callers
Method
cend
include/jwt/string_view.hpp:120
↓ 11 callers
Method
number_float
include/jwt/json/json.hpp:5827
↓ 10 callers
Method
boolean
include/jwt/json/json.hpp:5812
↓ 10 callers
Method
insert
include/jwt/json/json.hpp:16542
↓ 10 callers
Function
parser
include/jwt/json/json.hpp:16684
↓ 9 callers
Method
cbegin
include/jwt/string_view.hpp:119
↓ 9 callers
Function
is_binary
! @brief return whether value is a binary array This function returns true if and only if the JSON value is a binary array. @return `tru
include/jwt/json/json.hpp:19117
↓ 9 callers
Function
reg_claims_to_str
* Converts an instance of type `enum class registered_claims` * to its string equivalent representation. */
include/jwt/jwt.hpp:119
↓ 8 callers
Method
dump
! @brief internal implementation of the serialization function This function is called by the public member function dump and organizes t
include/jwt/json/json.hpp:15533
↓ 8 callers
Method
emplace
include/jwt/json/json.hpp:16424
↓ 8 callers
Method
find_first_of
include/jwt/string_view.hpp:277
↓ 8 callers
Function
read_from_file
tests/test_jwt_es.cc:12
↓ 8 callers
Function
read_from_file
tests/test_jwt_rsa.cc:16
↓ 7 callers
Function
base64_encode
* Encodes a sequence of octet into base64 string. * Returns std::string resized to contain only the * encoded data (as usual without null terminator
include/jwt/base64.hpp:89
↓ 7 callers
Method
end_array
include/jwt/json/json.hpp:5862
↓ 7 callers
Method
end_object
include/jwt/json/json.hpp:5852
↓ 7 callers
Method
start_array
include/jwt/json/json.hpp:5857
↓ 7 callers
Method
start_object
include/jwt/json/json.hpp:5842
↓ 7 callers
Method
string
include/jwt/json/json.hpp:5832
↓ 6 callers
Method
has_subtype
! @brief return whether the value has a subtype @return whether the value has a subtype @complexity Constant. @exceptionsafety No-t
include/jwt/json/json.hpp:4540
↓ 6 callers
Function
is_string
! @brief return whether value is a string This function returns true if and only if the JSON value is a string. @return `true` if type i
include/jwt/json/json.hpp:19095
↓ 6 callers
Function
issuer
*/
include/jwt/parameters.hpp:402
↓ 6 callers
Method
max_size
include/jwt/string_view.hpp:130
↓ 6 callers
Method
null
include/jwt/json/json.hpp:5807
↓ 6 callers
Function
push_back
! @brief add an object to an array Appends the given element @a val to the end of the JSON value. If the function is called on a JSON nul
include/jwt/json/json.hpp:21713
↓ 6 callers
Method
subtype
! @brief return the binary subtype Returns the numerical subtype of the value if it has a subtype. If it does not have a subtype, this fu
include/jwt/json/json.hpp:4519
↓ 6 callers
Method
to_string
! @brief return a string representation of the JSON pointer @invariant For each JSON pointer `ptr`, it holds: @code {.cpp} ptr == jso
include/jwt/json/json.hpp:11600
↓ 5 callers
Function
base64_decode
* Decodes octet of base64 encoded byte string. * * Returns a std::string with the decoded byte string. * * Arguments: * @in : Encoded base64 byt
include/jwt/base64.hpp:191
↓ 5 callers
Function
find
include/jwt/json/json.hpp:20812
↓ 5 callers
Method
get_character
include/jwt/json/json.hpp:4770
↓ 5 callers
Method
is_begin
return whether the iterator can be dereferenced
include/jwt/json/json.hpp:10665
↓ 5 callers
Method
parse
! @brief public parser interface @param[in] strict whether to expect the last token to be EOF @param[in,out] result parsed JSON val
include/jwt/json/json.hpp:10196
↓ 4 callers
Method
accept
! @brief public accept interface @param[in] strict whether to expect the last token to be EOF @return whether the input is a proper JSON
include/jwt/json/json.hpp:10257
↓ 4 callers
Method
binary
include/jwt/json/json.hpp:5837
↓ 4 callers
Function
cend
! @brief returns a const iterator to one past the last element Returns a const iterator to one past the last element. @image html range-
include/jwt/json/json.hpp:21077
↓ 4 callers
Method
count
include/jwt/json/json.hpp:16506
↓ 4 callers
Function
destroy
include/jwt/json/json.hpp:17610
↓ 4 callers
Function
empty
! @brief checks whether the container is empty. Checks if a JSON value has no elements (i.e. whether its @ref size is `0`). @return The
include/jwt/json/json.hpp:21421
↓ 4 callers
Function
escape
escape "~" to "~0" and "/" to "~1"
include/jwt/json/json.hpp:12363
↓ 4 callers
Method
find_last_of
include/jwt/string_view.hpp:294
↓ 4 callers
Function
get_arithmetic_value
include/jwt/json/json.hpp:3440
↓ 4 callers
Method
get_binary
include/jwt/json/json.hpp:10000
↓ 4 callers
Method
get_string
include/jwt/json/json.hpp:9967
↓ 4 callers
Function
insert_iterator
include/jwt/json/json.hpp:21984
↓ 4 callers
Function
is_boolean
! @brief return whether value is a boolean This function returns true if and only if the JSON value is a boolean. @return `true` if type
include/jwt/json/json.hpp:18914
↓ 4 callers
Function
leeway
*/
include/jwt/parameters.hpp:366
↓ 4 callers
Method
remove_claim
* Remove a claim identified by a claim name. */
include/jwt/jwt.hpp:660
↓ 4 callers
Function
replace_substring
! @brief replace all occurrences of a substring by another string @param[in,out] s the string to manipulate; changed so that all
include/jwt/json/json.hpp:12351
↓ 4 callers
Method
secret
* Get the secret to be used for signing. */
include/jwt/jwt.hpp:964
↓ 4 callers
Method
substr
NOTE: Does not throw
include/jwt/string_view.hpp:205
↓ 4 callers
Function
swap
! @brief exchanges the values Exchanges the contents of the JSON value with those of @a other. Does not invoke any move, copy, or swap op
include/jwt/json/json.hpp:22359
↓ 3 callers
Function
alg_to_str
* Convert the algorithm enum class type to * its stringified form. */
include/jwt/algorithm.hpp:225
next →
1–100 of 600, ranked by callers