On this page:
extract-user-pass
Version: 4.1

2.9 Basic Authentication

 (require web-server/servlet/basic-auth)

"servlet/basic-auth.ss" provides a function for helping with implementation of HTTP Basic Authentication.

(extract-user-pass heads)

  (or/c false/c (cons/c bytes? bytes?))

  heads : (listof header?)

Returns a pair of the username and password from the authentication header in heads if they are present, or #f