Function generate_token_pair

Source
pub fn generate_token_pair(key: &str) -> TokenPair
Expand description

Generate a new token pair (access token and refresh token) with their digests.