Skip to main content

totp_builder

Function totp_builder 

Source
pub fn totp_builder(
    registry: &Arc<dyn RegistryBackend>,
    config: Option<&ProviderConfig>,
    sealer: &Arc<FactorSealer>,
) -> Result<TotpBuilder, String>
Expand description

The one-time code provider over the Registry’s tables, configured by config, ready to build.

§Errors

Why the configuration is refused.