diff options
author | zotlabs <mike@macgirvin.com> | 2018-05-21 19:25:03 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-05-21 19:25:03 -0700 |
commit | 2b3f931c859b0e5b3a561c445b29035b00b4dc20 (patch) | |
tree | 5037c3398f70eab9fba92a73e168c42767e0da6a /Zotlabs/Module/Well_known.php | |
parent | 9bf26cee6de1015aab3eec87e335c3b90827cd33 (diff) | |
download | volse-hubzilla-2b3f931c859b0e5b3a561c445b29035b00b4dc20.tar.gz volse-hubzilla-2b3f931c859b0e5b3a561c445b29035b00b4dc20.tar.bz2 volse-hubzilla-2b3f931c859b0e5b3a561c445b29035b00b4dc20.zip |
oauth2 discovery per draft-ietf-oauth-discovery-10
Diffstat (limited to 'Zotlabs/Module/Well_known.php')
-rw-r--r-- | Zotlabs/Module/Well_known.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Zotlabs/Module/Well_known.php b/Zotlabs/Module/Well_known.php index 177de2323..442994b54 100644 --- a/Zotlabs/Module/Well_known.php +++ b/Zotlabs/Module/Well_known.php @@ -50,7 +50,15 @@ class Well_known extends \Zotlabs\Web\Controller { $module = new \Zotlabs\Module\Hostxrd(); $module->init(); break; - + + case 'oauth-authorization-server': + \App::$argc -= 1; + array_shift(\App::$argv); + \App::$argv[0] = 'oauthinfo'; + $module = new \Zotlabs\Module\Oauthinfo(); + $module->init(); + break; + case 'dnt-policy.txt': echo file_get_contents('doc/dnt-policy.txt'); killme(); |