[−][src]Function otp::add_secret
pub fn add_secret<P: AsRef<Path>>(
config: &Config,
config_dir: P,
name: &str,
secret: String,
algorithm: TokenAlgorithm
) -> TotpResult<Config>
pub fn add_secret<P: AsRef<Path>>(
config: &Config,
config_dir: P,
name: &str,
secret: String,
algorithm: TokenAlgorithm
) -> TotpResult<Config>