|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
Bounded verified contexts scoped to the receiving Session and stream. More...
#include <cpp/a11/actions/authorization.h>
Classes | |
| struct | State |
Public Member Functions | |
| AuthorizationContextStore (size_t max_contexts_per_stream=128) | |
| ~AuthorizationContextStore () | |
| absl::StatusOr< AuthorizationContext > | Install (const std::shared_ptr< Action > &action, std::shared_ptr< const VerifiedAuthorization > authorization, bool make_default=true, std::optional< std::string > replace=std::nullopt) |
| absl::StatusOr< std::shared_ptr< const VerifiedAuthorization > > | Resolve (const std::shared_ptr< Action > &action) |
| absl::Status | ClearStream (const Action &action) |
| void | ClearSession (std::string_view session_id) |
Bounded verified contexts scoped to the receiving Session and stream.
|
explicit |
|
default |
| void a11::actions::AuthorizationContextStore::ClearSession | ( | std::string_view | session_id | ) |
| absl::Status a11::actions::AuthorizationContextStore::ClearStream | ( | const Action & | action | ) |
| absl::StatusOr< AuthorizationContext > a11::actions::AuthorizationContextStore::Install | ( | const std::shared_ptr< Action > & | action, |
| std::shared_ptr< const VerifiedAuthorization > | authorization, | ||
| bool | make_default = true, |
||
| std::optional< std::string > | replace = std::nullopt |
||
| ) |
| absl::StatusOr< std::shared_ptr< const VerifiedAuthorization > > a11::actions::AuthorizationContextStore::Resolve | ( | const std::shared_ptr< Action > & | action | ) |