gnu-social/plugins/OpenID
Brion Vibber 7c828ae5f8 OpenID access control options: trusted provider URL, Launchpad team restrictions. Added an admin panel for setting these and OpenID-only mode, off by default.
To enable the admin panel:
    $config['admin']['panels'][] = 'openid';

Or to set them manually:
    $config['openid']['trusted_provider'] = 'https://login.ubuntu.net/';
    $config['openid']['required_team'] = 'my-project-cabal';
    $config['site']['openidonly'] = true;

OpenID-only mode can still be set from addPlugin() parameters as well for backwards compatibility.
Note: if it's set there, that value will override the setting from the database or config.php.

Note that team restrictions are only really meaningful if a trusted provider is set; otherwise,
any OpenID server could report back that users are members of the given team.

Restrictions are checked only at OpenID authentication time and will not kick off people currently
with a session open; existing remembered logins may also survive these changes.

Using code for Launchpad team support provided by Canonical under AGPLv3, pulled from r27 of
WordPress teams integration plugin:
    https://code.edge.launchpad.net/~canonical-isd-hackers/wordpress-teams-integration/trunk
2010-05-18 13:28:41 -07:00
..
doc-src fix broken link in OpenID documentation 2010-02-22 07:08:57 -05:00
extlib OpenID access control options: trusted provider URL, Launchpad team restrictions. Added an admin panel for setting these and OpenID-only mode, off by default. 2010-05-18 13:28:41 -07:00
locale Pull localization updates from 0.9.x branch 2010-05-03 12:27:44 -07:00
finishaddopenid.php OpenID access control options: trusted provider URL, Launchpad team restrictions. Added an admin panel for setting these and OpenID-only mode, off by default. 2010-05-18 13:28:41 -07:00
finishopenidlogin.php OpenID access control options: trusted provider URL, Launchpad team restrictions. Added an admin panel for setting these and OpenID-only mode, off by default. 2010-05-18 13:28:41 -07:00
openid.php OpenID access control options: trusted provider URL, Launchpad team restrictions. Added an admin panel for setting these and OpenID-only mode, off by default. 2010-05-18 13:28:41 -07:00
openidadminpanel.php OpenID access control options: trusted provider URL, Launchpad team restrictions. Added an admin panel for setting these and OpenID-only mode, off by default. 2010-05-18 13:28:41 -07:00
openidlogin.php OpenID access control options: trusted provider URL, Launchpad team restrictions. Added an admin panel for setting these and OpenID-only mode, off by default. 2010-05-18 13:28:41 -07:00
OpenIDPlugin.php OpenID access control options: trusted provider URL, Launchpad team restrictions. Added an admin panel for setting these and OpenID-only mode, off by default. 2010-05-18 13:28:41 -07:00
openidserver.php (Puctuation) consistency in clientError() calls. 2009-12-13 18:55:17 +01:00
openidsettings.php OpenID access control options: trusted provider URL, Launchpad team restrictions. Added an admin panel for setting these and OpenID-only mode, off by default. 2010-05-18 13:28:41 -07:00
openidtrust.php remove debugging calls 2010-03-25 16:35:22 -04:00
User_openid_trustroot.php OpenID fixes: 2010-03-12 10:07:32 -08:00
User_openid.php OpenID fixes: 2010-03-12 10:07:32 -08:00