#include <wasm_secure_storage.h>
Classes | |
| struct | StorageQuota |
Public Types | |
| enum class | StorageType { kSession , kLocal } |
Static Public Member Functions | |
| static absl::Status | StoreApiKey (const std::string &, const std::string &, StorageType=StorageType::kSession) |
| static absl::StatusOr< std::string > | RetrieveApiKey (const std::string &, StorageType=StorageType::kSession) |
| static absl::Status | ClearApiKey (const std::string &, StorageType=StorageType::kSession) |
| static bool | HasApiKey (const std::string &, StorageType=StorageType::kSession) |
| static absl::Status | StoreSecret (const std::string &, const std::string &, StorageType=StorageType::kSession) |
| static absl::StatusOr< std::string > | RetrieveSecret (const std::string &, StorageType=StorageType::kSession) |
| static absl::Status | ClearSecret (const std::string &, StorageType=StorageType::kSession) |
| static std::vector< std::string > | ListStoredApiKeys (StorageType=StorageType::kSession) |
| static absl::Status | ClearAllApiKeys (StorageType=StorageType::kSession) |
| static bool | IsStorageAvailable () |
| static absl::StatusOr< StorageQuota > | GetStorageQuota (StorageType=StorageType::kSession) |
Non-WASM stub for WasmSecureStorage. All methods return Unimplemented/NotFound as secure browser storage is not available.
Definition at line 195 of file wasm_secure_storage.h.
|
strong |
| Enumerator | |
|---|---|
| kSession | |
| kLocal | |
Definition at line 197 of file wasm_secure_storage.h.
|
inlinestatic |
Definition at line 199 of file wasm_secure_storage.h.
|
inlinestatic |
Definition at line 204 of file wasm_secure_storage.h.
|
inlinestatic |
Definition at line 209 of file wasm_secure_storage.h.
|
inlinestatic |
Definition at line 214 of file wasm_secure_storage.h.
|
inlinestatic |
Definition at line 219 of file wasm_secure_storage.h.
|
inlinestatic |
Definition at line 224 of file wasm_secure_storage.h.
|
inlinestatic |
Definition at line 229 of file wasm_secure_storage.h.
|
inlinestatic |
Definition at line 234 of file wasm_secure_storage.h.
|
inlinestatic |
Definition at line 239 of file wasm_secure_storage.h.
|
inlinestatic |
Definition at line 243 of file wasm_secure_storage.h.
|
inlinestatic |
Definition at line 250 of file wasm_secure_storage.h.