mod_oauth2
OAuth2 provider module for app/client/token management and authorization flows.
Accepted Events
This module handles the following notifier callbacks:
observe_admin_menu: Add OAuth2 administration entries to the admin menu.observe_request_context: Check if there is a valid Authorization header or 'access_token' argument usingz_context:get.observe_search_query: Queries to find OAuth2 tokens usingz_datetime:next_hour.observe_tick_24h: Periodically delete expired server side tokens usingm_oauth2:delete_expired_tokens.observe_tick_3h: Periodically try to extend tokens that are expiring in the next 8 hours usingz_datetime:next_hour.observe_url_fetch_options: Check if the current user has a token for the given host usingz_acl:user.
Delegate callbacks:
event/2withpostbackmessages:oauth2_app_delete,oauth2_app_token_delete,oauth2_app_token_generate,oauth2_consumer_delete,oauth2_consumer_token_delete,oauth2_fetch_consumer_token.event/2withsubmitmessages:oauth2_app_insert,oauth2_app_token_new,oauth2_app_update,oauth2_authorize,oauth2_consumer_insert,oauth2_consumer_token_new,oauth2_consumer_update.