pub fn decrypt_token(stored: &str, secret: &str) -> Result<String, AuthError>Expand description
Decrypt a token with a single persistence key, passing through plaintext.
Use decrypt_token_with_config to read managed or legacy key versions.
ยงErrors
Returns an error if an encrypted token cannot be authenticated or decoded.