![]() |
Kurlyk
|
Provides PKCE (Proof Key for Code Exchange) utilities per RFC 7636. More...
#include "Base64Url.hpp"#include <hmac_cpp/sha256.hpp>#include <hmac_cpp/hmac_utils.hpp>#include <string>#include <vector>#include <cstdint>#include <algorithm>Go to the source code of this file.
Classes | |
| class | kurlyk::utils::PkcePair |
| Stores PKCE verifier and challenge values. More... | |
Namespaces | |
| namespace | kurlyk |
| Primary namespace for the Kurlyk library, encompassing initialization, request management, and utility functions. | |
| namespace | kurlyk::utils |
Macros | |
| #define | _KURLYK_UTILS_PKCE_HPP_INCLUDED |
Functions | |
| std::string | kurlyk::utils::generate_code_verifier (std::size_t length=64) |
| Generates a cryptographically strong PKCE code verifier. | |
| std::string | kurlyk::utils::make_s256_code_challenge (const std::string &verifier) |
| Creates an S256 code challenge from a verifier. | |
| PkcePair | kurlyk::utils::make_pkce_pair () |
| Creates a PKCE pair with a freshly generated verifier. | |
Provides PKCE (Proof Key for Code Exchange) utilities per RFC 7636.
Definition in file Pkce.hpp.