Enum yup_oauth2::RefreshResult
[−]
[src]
pub enum RefreshResult { Error(Error), RefreshError(String, Option<String>), Success(Token), }
All possible outcomes of the refresh flow
Variants
Error(Error)
Indicates connection failure
RefreshError(String, Option<String>)
The server did not answer with a new token, providing the server message
Success(Token)
The refresh operation finished successfully, providing a new Token