• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

All Application Manual Name SummaryHelp

  • 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
Source[multifile]http:authenticate(+AuthData, +Request, -Fields)
Plugin for library(http_dispatch) to perform basic HTTP authentication.

This predicate throws http_reply(authorise(basic, Realm)).

AuthData must be a term basic(File, Realm)
Request is the HTTP request
Fields describes the authenticated user with the option user(User) and with the option user_details(Fields) if the password file contains additional fields after the user and password.
Source[multifile]http:authenticate(+Digest, +Request, -Fields)
Plugin for library(http_dispatch) to perform basic HTTP authentication. Note that we keep the authentication details cached to avoid a‘nonce-replay’error in the case that the application tries to verify multiple times.

This predicate throws http_reply(authorise(digest(Digest)))

Digest is a term digest(File, Realm, Options)
Request is the HTTP request
Fields describes the authenticated user with the option user(User) and with the option user_details(Fields) if the password file contains additional fields after the user and password.
ClioPatria (version V3.1.1-51-ga0b30a5)