pub trait CodexRunTokenAuthority:
Send
+ Sync
+ 'static {
// Required methods
fn issue(&self, session_id: &str) -> Result<IssuedCodexRunToken, String>;
fn revoke(&self, token_id: &str);
}Expand description
Server-owned authority for Bamboo-as-provider Codex credentials. The engine only needs mint/revoke; verification remains inside the HTTP server.
Required Methods§
fn issue(&self, session_id: &str) -> Result<IssuedCodexRunToken, String>
fn revoke(&self, token_id: &str)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".