/modules/mod_oauth/dispatch/dispatch
http://github.com/zotonic/zotonic · #! · 11 lines · 9 code · 2 blank · 0 comment · 0 complexity · 91f909cfdda7082ef5a1ead9bd98c266 MD5 · raw file
- %% -*- mode: erlang -*-
- %% Dispatch rules for OAuth
- [
- {oauth_request_token, ["oauth", "request_token"], controller_oauth_request_token, []},
- {oauth_access_token, ["oauth", "access_token"], controller_oauth_access_token, []},
-
- {oauth_authorize, ["oauth", "authorize"], controller_oauth_authorize, []},
- {oauth_finish, ["oauth", "authorize", "finished"], controller_template, [ {template, "oauth_authorize_finished.tpl"} ]},
-
- {admin_oauth, ["admin", "oauth", "apps"], controller_oauth_apps, [{ssl,true}]}
- ].