Skip to main content

decrypt_token_with_config

Function decrypt_token_with_config 

Source
pub fn decrypt_token_with_config(
    stored: &str,
    secret: &AuthConfig,
) -> Result<String, AuthError>
Expand description

Decrypt current-format ciphertext; reject plaintext and obsolete formats.