roar
Loading...
Searching...
No Matches
Namespaces | Macros | Variables
digest_auth.cpp File Reference
#include <roar/authorization/digest_auth.hpp>
#include <roar/detail/fixed_string.hpp>
#include <boost/spirit/home/x3.hpp>
#include <boost/fusion/adapted/struct.hpp>
#include <cstddef>
Include dependency graph for digest_auth.cpp:

Namespaces

namespace  Roar
 
namespace  Roar::Parser
 

Macros

#define PARAM_PARSER(name)
 

Variables

const auto Roar::Parser::digestRule
 

Macro Definition Documentation

◆ PARAM_PARSER

#define PARAM_PARSER (   name)
Value:
(x3::lit(#name) >> '=' >> (('"' >> x3::lexeme[*(x3::char_ - '"')] >> '"')[([](auto& ctx) { \
_val(ctx).name = _attr(ctx); \
})] | \
x3::lexeme[*(x3::char_ - ',')][([](auto& ctx) { \
_val(ctx).name = _attr(ctx); \
})]))