pub type BasicRequestTokenError<RE> = RequestTokenError<RE, BasicErrorResponse>;
Expand description

Token error specialization for basic OAuth2 implementation.

Aliased Type§

enum BasicRequestTokenError<RE> {
    ServerResponse(StandardErrorResponse<BasicErrorResponseType>),
    Request(RE),
    Parse(Error<Error>, Vec<u8>),
    Other(String),
}

Variants§

§

ServerResponse(StandardErrorResponse<BasicErrorResponseType>)

Error response returned by authorization server. Contains the parsed ErrorResponse returned by the server.

§

Request(RE)

An error occurred while sending the request or receiving the response (e.g., network connectivity failed).

§

Parse(Error<Error>, Vec<u8>)

Failed to parse server response. Parse errors may occur while parsing either successful or error responses.

§

Other(String)

Some other type of error occurred (e.g., an unexpected server response).