| Did you know ... | Search Documentation: |
| openid.pl -- Handle users of the SWI-Prolog website |
This module provide the OpenID interface for the SWI-Prolog website. If you want to run this for local installations, make sure that your server is accessible through the public network and first direct your browser to the public network. Logging in using Google should work than. Some other providers have more strict requirements.
You can fake OpenID login using the debug interface:
?- debug(openid_fake('WouterBeek')).
grant(+User, +Token) is det
revoke(+User, +Token) is det
grant_user(+Request)[private]
authenticate(+Request, +Token, -Fields)
site_user(+Request, -User)
site_user_logged_in(-User) is semidet
create_profile(+Request)[private]
description(+UUID)//[private]
submit_profile(+Request)[private]
view_profile(+Request) is det[private]| Requested user is logged on | [view(private), edit_link(true)] |
Logged on is admin | [view(admin)] |
| Not logged on | [view(public) |
private_profile(+UUID, +Options)// is det[private]admin rights, show a table holding the private profile
information.
user_description(UUID, +Options)// is det[private]
user_packs(UUID)// is det[private]
list_users(+Request)[private]
user_profile_link(+UUID)//
yadis:xrds_specified_location(+Server, -XRDSLocation)[multifile]
plweb_login_page(+Request)[private]openid(login) for
customizating the -very basic- login page.
quick_buttons(-Buttons) is det[private]img(Attributes) terms for quick login.
verify_user(+Request)[private]
login_with_google(+Request)[private]
google_client:login_existing_user(+Claim) is semidet[multifile]
google_client:create_user(+Profile) is det[multifile]
logout(+Request)[private]
current_user//
login_link(+Request)//
logout_link//[private]
redirect_master(+Request)The following predicates are exported from this file while their implementation is defined in imported modules or non-module files loaded by this module.
grant(+User, +Token) is det
revoke(+User, +Token) is detThe following predicates are exported, but not or incorrectly documented.