Skip to main content

totp_provider

Function totp_provider 

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

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

§Errors

Why the configuration is refused.