Function rustream::routes::auth::failed_auth

source ·
pub fn failed_auth(auth_response: AuthToken, config: &Config) -> HttpResponse
Expand description

Constructs an HttpResponse for failed session_token verification.

§Arguments

  • auth_response - The authentication response containing details of the failure.

§Returns

Returns an HttpResponse with a redirect, setting a cookie with the failure detail.