3.7 library(http/http_authenticate): Authenticate HTTP connections using 401 headers
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog HTTP support
        • The HTTP server libraries
          • library(http/http_authenticate): Authenticate HTTP connections using 401 headers
            • http_authenticate/3
            • http_authorization_data/2
            • http_current_user/3
            • http_read_passwd_file/2
            • http_write_passwd_file/2
            • authenticate/3
Availability::- use_module(library(http/http_authenticate)).
Source[semidet]http_authorization_data(+AuthorizeText, ?Data)
Decode the HTTP Authorization header. Data is a term
Method(User, Password)

where Method is the (downcased) authorization method (typically basic), User is an atom holding the user name and Password is a list of codes holding the password