Enum yup_oauth2::RefreshResult [] [src]

pub enum RefreshResult {
    Error(Error),
    RefreshError(StringOption<String>),
    Success(Token),
}

All possible outcomes of the refresh flow

Variants

Indicates connection failure

The server did not answer with a new token, providing the server message

The refresh operation finished successfully, providing a new Token