pub async fn validate_request_with_basic_auth(
request: HttpRequest,
pool: &PgPool,
) -> Result<User, AuthenticationError>
Expand description
Validates a HTTP request with request headers conforming to the Basic Auth RFC.
pub async fn validate_request_with_basic_auth(
request: HttpRequest,
pool: &PgPool,
) -> Result<User, AuthenticationError>
Validates a HTTP request with request headers conforming to the Basic Auth RFC.