|
iceberg-cpp
|
Authentication manager that performs basic authentication. More...
Public Member Functions | |
| Result< std::shared_ptr< AuthSession > > | CatalogSession (HttpClient &client, const std::unordered_map< std::string, std::string > &properties) override |
| Create the long-lived catalog session that acts as the parent session. | |
Public Member Functions inherited from iceberg::rest::auth::AuthManager | |
| virtual Result< std::shared_ptr< AuthSession > > | InitSession (HttpClient &init_client, const std::unordered_map< std::string, std::string > &properties) |
| Create a short-lived session used to contact the configuration endpoint. | |
| virtual Result< std::shared_ptr< AuthSession > > | ContextualSession (const std::unordered_map< std::string, std::string > &context, std::shared_ptr< AuthSession > parent) |
| Create or reuse a session for a specific context. | |
| virtual Result< std::shared_ptr< AuthSession > > | TableSession (const TableIdentifier &table, const std::unordered_map< std::string, std::string > &properties, std::shared_ptr< AuthSession > parent) |
| Create or reuse a session scoped to a single table/view. | |
| virtual Status | Close () |
| Release resources held by the manager. | |
Authentication manager that performs basic authentication.
|
inlineoverridevirtual |
Create the long-lived catalog session that acts as the parent session.
This session is used for all catalog-level operations (list namespaces, list tables, etc.) and serves as the parent session for contextual and table-specific sessions. It is owned by the catalog and reused throughout the catalog's lifetime.
| shared_client | HTTP client owned by the catalog and reused for auth calls. |
| properties | Catalog properties (client config + server defaults). |
Implements iceberg::rest::auth::AuthManager.