|
|
bool | mcp::auth::detail::is_http_token_char (char value) |
| |
|
bool | mcp::auth::detail::is_token68_char (char value) |
| |
|
void | mcp::auth::detail::skip_ows (std::string_view input, std::size_t &pos) |
| |
|
std::string | mcp::auth::detail::parse_token (std::string_view input, std::size_t &pos) |
| |
|
std::string | mcp::auth::detail::ascii_lower (std::string value) |
| |
|
bool | mcp::auth::detail::ascii_iequals (std::string_view lhs, std::string_view rhs) |
| |
|
core::Error | mcp::auth::detail::www_auth_parse_error (std::string message) |
| |
|
core::Result< std::string > | mcp::auth::detail::parse_quoted_string (std::string_view input, std::size_t &pos) |
| |
|
bool | mcp::auth::detail::comma_starts_parameter (std::string_view input, std::size_t pos) |
| |
|
bool | mcp::auth::detail::starts_parameter (std::string_view input, std::size_t pos) |
| |
|
std::optional< std::string > | mcp::auth::resource_metadata_url (const WwwAuthenticateChallenge &challenge) |
| | Returns the MCP OAuth protected-resource metadata URL, when present.
|
| |
|
bool | mcp::auth::insufficient_scope (const WwwAuthenticateChallenge &challenge) |
| | Returns true for an OAuth insufficient_scope challenge.
|
| |
|
std::optional< std::string > | mcp::auth::first_resource_metadata_url (const std::vector< WwwAuthenticateChallenge > &challenges) |
| | Returns the first resource_metadata parameter in parsed challenges.
|
| |
|
core::Result< std::vector< WwwAuthenticateChallenge > > | mcp::auth::parse_www_authenticate (const std::string &header_value) |
| | Parse a WWW-Authenticate header with the default parser.
|
| |
WWW-Authenticate challenge models and parser boundary.