Skip to main content

RuntimeApiAuthState

Trait RuntimeApiAuthState 

Source
pub trait RuntimeApiAuthState:
    Clone
    + Send
    + Sync
    + 'static {
    // Required method
    fn runtime_token(&self) -> Option<&str>;
}
Expand description

Bearer token gate for /v1/* routes.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§