Skip to main content

TokenResponseProjection

Type Alias TokenResponseProjection 

Source
pub type TokenResponseProjection<S, C> = ServerProjection<(Conn<S, ServerAuthPolicy, C>, Bytes), S, ServerAuthResponse, C>;
Expand description

Projection of a token response into the next authentication policy decision.

Aliased Type§

pub enum TokenResponseProjection<S, C> {
    Ok((Conn<S, ServerAuthPolicy, C>, Bytes)),
    Err(Box<(Conn<S, ServerAuthResponse, C>, FrontendMessage)>),
}

Variants§

§1.0.0

Ok((Conn<S, ServerAuthPolicy, C>, Bytes))

Contains the success value

§1.0.0

Err(Box<(Conn<S, ServerAuthResponse, C>, FrontendMessage)>)

Contains the error value