认证过滤器
更多...
#include <http_filter.hpp>
认证过滤器
验证请求是否包含有效的认证信息。
在文件 http_filter.hpp 第 327 行定义.
◆ authentication_filter()
| neforce::http::authentication_filter::authentication_filter |
( |
function< bool(const http_request &)> | validator | ) |
|
|
inlineexplicit |
◆ add_excluded_path()
| void neforce::http::authentication_filter::add_excluded_path |
( |
string | path | ) |
|
|
inline |
◆ add_included_path()
| void neforce::http::authentication_filter::add_included_path |
( |
string | path | ) |
|
|
inline |
◆ do_filter()
◆ name()
| string neforce::http::authentication_filter::name |
( |
| ) |
const |
|
inlinenodiscardoverridevirtual |
◆ pre_filter()
◆ set_auth_validator()
| void neforce::http::authentication_filter::set_auth_validator |
( |
function< bool(const http_request &)> | validator | ) |
|
|
inline |
该类的文档由以下文件生成: