pub struct ProxyState {
pub registry: ManifestRegistry,
pub skill_registry: SkillRegistry,
pub keyring: Keyring,
pub jwt_config: Option<JwtConfig>,
pub jwks_json: Option<Value>,
pub auth_cache: AuthCache,
}Expand description
Shared state for the proxy server.
Fields§
§registry: ManifestRegistry§skill_registry: SkillRegistry§keyring: Keyring§jwt_config: Option<JwtConfig>JWT validation config (None = auth disabled / dev mode).
jwks_json: Option<Value>Pre-computed JWKS JSON for the /.well-known/jwks.json endpoint.
auth_cache: AuthCacheShared cache for dynamically generated auth credentials.
Auto Trait Implementations§
impl !Freeze for ProxyState
impl RefUnwindSafe for ProxyState
impl Send for ProxyState
impl Sync for ProxyState
impl Unpin for ProxyState
impl UnsafeUnpin for ProxyState
impl UnwindSafe for ProxyState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more