pub trait JweSecretSource {
// Required methods
fn current_jwe_secret(&self) -> Result<String, RustAuthError>;
fn all_jwe_secrets(&self) -> Result<Vec<JweSecret>, RustAuthError>;
}Expand description
Secret material accepted by Better Auth-compatible JWE helpers.
Required Methods§
fn current_jwe_secret(&self) -> Result<String, RustAuthError>
fn all_jwe_secrets(&self) -> Result<Vec<JweSecret>, RustAuthError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".