Skip to main content

handle_smart_http_auth

Function handle_smart_http_auth 

Source
pub fn handle_smart_http_auth(
    repo: &mut Repository,
    req: &HttpRequest,
    basic: Option<&BasicAuthConfig>,
) -> Result<HttpResponse, ServerError>
Expand description

Like handle_smart_http, with optional Basic auth gate (LFS enabled by default).