- oauth_authenticate(+Request, +Site, +Options)
- Step 2: redirect to Google for obtaining an authorization code.
Google redirects back to oauth_handle_response/1. Options:
- realm(+Realm)
- Value for
openid.realm
. Normally, this is the site's
root URL. By default, it is not sent.
- login_hint(+Hint)
- Hint to select the right account. Typically an email
address. By default, it is not sent.
- client_data(+Data)
- Add the given Data (any Prolog term) to the dict that is
passed to the login hooks.