Function tame_oidc::oidc::parse_token_response
source · pub fn parse_token_response<S>(response: Response<S>) -> Result<Token, Error>
Expand description
Once a response has been received for a token request, call this method to deserialize the token and store it in the cache so that future API requests don’t have to retrieve a new token, until it expires.