Go to the documentation of this file.
15 #ifndef GRPC_CORE_LIB_SECURITY_AUTHORIZATION_MATCHERS_H
16 #define GRPC_CORE_LIB_SECURITY_AUTHORIZATION_MATCHERS_H
26 #include "absl/types/optional.h"
46 static std::unique_ptr<AuthorizationMatcher>
Create(
51 static std::unique_ptr<AuthorizationMatcher>
Create(
65 std::vector<std::unique_ptr<AuthorizationMatcher>>
matchers)
71 std::vector<std::unique_ptr<AuthorizationMatcher>>
matchers_;
77 std::vector<std::unique_ptr<AuthorizationMatcher>>
matchers)
83 std::vector<std::unique_ptr<AuthorizationMatcher>>
matchers_;
90 std::unique_ptr<AuthorizationMatcher> matcher)
96 std::unique_ptr<AuthorizationMatcher>
matcher_;
218 #endif // GRPC_CORE_LIB_SECURITY_AUTHORIZATION_MATCHERS_H
bool Matches(const EvaluateArgs &) const override
static std::unique_ptr< AuthorizationMatcher > Create(Rbac::Permission permission)
std::unique_ptr< AuthorizationMatcher > principals_
bool Matches(const EvaluateArgs &args) const override
ReqServerNameAuthorizationMatcher(StringMatcher requested_server_name)
PathAuthorizationMatcher(StringMatcher path)
XdsRouteConfigResource::Route::Matchers matchers
virtual ~AuthorizationMatcher()=default
const uint32_t prefix_len_
const StringMatcher matcher_
grpc_resolved_address subnet_address_
IpAuthorizationMatcher(Type type, Rbac::CidrRange range)
std::unique_ptr< AuthorizationMatcher > permissions_
bool Matches(const EvaluateArgs &args) const override
constexpr absl::remove_reference_t< T > && move(T &&t) noexcept
virtual bool Matches(const EvaluateArgs &args) const =0
AuthenticatedAuthorizationMatcher(absl::optional< StringMatcher > auth)
const StringMatcher matcher_
NotAuthorizationMatcher(std::unique_ptr< AuthorizationMatcher > matcher)
const absl::optional< StringMatcher > matcher_
AndAuthorizationMatcher(std::vector< std::unique_ptr< AuthorizationMatcher >> matchers)
bool Matches(const EvaluateArgs &args) const override
AlwaysAuthorizationMatcher()=default
bool Matches(const EvaluateArgs &args) const override
std::unique_ptr< AuthorizationMatcher > matcher_
PolicyAuthorizationMatcher(Rbac::Policy policy)
bool Matches(const EvaluateArgs &args) const override
std::vector< std::unique_ptr< AuthorizationMatcher > > matchers_
bool Matches(const EvaluateArgs &args) const override
PortAuthorizationMatcher(int port)
OrAuthorizationMatcher(std::vector< std::unique_ptr< AuthorizationMatcher >> matchers)
std::vector< std::unique_ptr< AuthorizationMatcher > > matchers_
bool Matches(const EvaluateArgs &args) const override
bool Matches(const EvaluateArgs &args) const override
bool Matches(const EvaluateArgs &) const override
grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:22