• 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

3.11 library(http/http_openid): OpenID consumer and server library
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog HTTP support
        • The HTTP server libraries
          • library(http/http_openid): OpenID consumer and server library
            • openid_hook/1
            • openid_login/1
            • openid_logout/1
            • openid_logged_in/1
            • openid_user/3
            • openid_login_form//2
            • openid_verify/2
            • openid_server/3
            • openid_current_url/2
            • openid_current_host/3
            • ssl_verify/5
            • openid_authenticate/4
            • openid_server/2
            • openid_grant/1
            • openid_associate/3
            • openid_associate/4
Availability::- use_module(library(http/http_openid)).
Source[det]openid_login_form(+ReturnTo, +Options)//
Create the OpenID form. This exported as a separate DCG, allowing applications to redefine /openid/login and reuse this part of the page. Options processed:
action(Action)
URL of action to call. Default is the handler calling openid_verify/1.
buttons(+Buttons)
Buttons is a list of img structures where the href points to an OpenID 2.0 endpoint. These buttons are displayed below the OpenID URL field. Clicking the button sets the URL field and submits the form. Requires Javascript support.

If the href is relative, clicking it opens the given location after adding’openid.return_to’and‘stay’.

show_stay(+Boolean)
If true, show a checkbox that allows the user to stay logged on.
ClioPatria (version V3.1.1-51-ga0b30a5)