pub trait BootstrapAdminProvisioner: Send + Sync {
// Required method
fn create_first_admin(
&self,
identity: &BootstrapAdminIdentity,
) -> AuthServiceResult<()>;
}Expand description
Injection boundary that must atomically reject creation when an administrator already exists.
Required Methods§
fn create_first_admin( &self, identity: &BootstrapAdminIdentity, ) -> AuthServiceResult<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".