pub fn hash_authorization_code(raw: &str) -> TokenHash
Hash a raw authorization code with SHA-256.
Returns the hex-encoded digest as a TokenHash. Same pattern as sessions::hash_token().
TokenHash
sessions::hash_token()