pub enum CreateAuthenticationV1TokenReviewResponse {
Ok(TokenReview),
Created(TokenReview),
Accepted(TokenReview),
Unauthorized,
Other,
}
Expand description
Parses the HTTP response of TokenReview::create_authentication_v1_token_review
Variants§
Trait Implementations§
source§impl Response for CreateAuthenticationV1TokenReviewResponse
impl Response for CreateAuthenticationV1TokenReviewResponse
source§fn try_from_parts(
status_code: StatusCode,
buf: &[u8]
) -> Result<(Self, usize), ResponseError>
fn try_from_parts(
status_code: StatusCode,
buf: &[u8]
) -> Result<(Self, usize), ResponseError>
Tries to parse the response from the given status code and response body.