Clio develop
The XRP Ledger API server.
|
Admin verification strategy that checks the ip address of the client. More...
#include <AdminVerificationStrategy.hpp>
Public Member Functions | |
bool | isAdmin (RequestHeader const &, std::string_view ip) const override |
Checks whether request is from a host that is considered authorized as admin by checking the ip address. | |
![]() |
Additional Inherited Members | |
![]() | |
using | RequestHeader = boost::beast::http::request<boost::beast::http::string_body>::header_type |
Admin verification strategy that checks the ip address of the client.
|
overridevirtual |
Checks whether request is from a host that is considered authorized as admin by checking the ip address.
ip | The ip addr of the client |
Implements web::AdminVerificationStrategy.