Function tame_oidc::oidc::parse_token_response [−][src]
pub fn parse_token_response<S>(response: Response<S>) -> Result<Token, Error> where
S: AsRef<[u8]>,
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.