Skip to main content

create_auth_endpoint_raw

Function create_auth_endpoint_raw 

Source
pub fn create_auth_endpoint_raw<F>(
    path: impl Into<String>,
    method: Method,
    options: AuthEndpointOptions,
    handler: F,
) -> AsyncAuthEndpoint
where F: for<'a> Fn(&'a AuthContext, ApiRequest) -> EndpointFuture<'a> + Send + Sync + 'static,