16 std::map<std::string, std::unique_ptr<AuthnIdentity>>
identities;
24 using Policies = std::map<std::string, std::shared_ptr<AuthnPolicy>>;
28 std::string scheme_name;
37 const std::vector<std::shared_ptr<AuthnPolicy>>& _policies);
41 const std::shared_ptr<ccf::RpcContext>& ctx,
42 std::string& error_reason)
override;
45 std::shared_ptr<ccf::RpcContext> ctx,
46 std::string&& error_reason)
override;
48 [[nodiscard]] std::optional<OpenAPISecuritySchema>
Definition all_of_auth.h:22
std::map< std::string, std::shared_ptr< AuthnPolicy > > Policies
Definition all_of_auth.h:24
std::optional< OpenAPISecuritySchema > get_openapi_security_schema() const override
Definition all_of_auth.cpp:125
std::unique_ptr< AuthnIdentity > authenticate(ccf::kv::ReadOnlyTx &tx, const std::shared_ptr< ccf::RpcContext > &ctx, std::string &error_reason) override
Definition all_of_auth.cpp:68
void set_unauthenticated_error(std::shared_ptr< ccf::RpcContext > ctx, std::string &&error_reason) override
Definition all_of_auth.cpp:103
std::string get_security_scheme_name() override
Definition all_of_auth.cpp:130
Definition authentication_types.h:28
Definition app_interface.h:14
Definition all_of_auth.h:15
std::string get_conjoined_name() const
Definition all_of_auth.cpp:10
std::map< std::string, std::unique_ptr< AuthnIdentity > > identities
Definition all_of_auth.h:16
Definition authentication_types.h:19