Skip to main content

BootstrapAdminProvisioner

Trait BootstrapAdminProvisioner 

Source
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§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§