PluginProbe
Loginizer / trunk
Loginizer vtrunk
2.1.0 2.0.9 2.0.8 1.9.8 1.9.9 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 trunk 1.0 1.0.1 1.0.2 1.1.0 1.1.1 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 All 74 releases
loginizer / lib / hybridauth / Provider / OpenID.php

OpenID.php in Loginizer trunk, at lib/hybridauth/Provider/OpenID.php

45 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*!
3 * Hybridauth
4 * https://hybridauth.github.io | https://github.com/hybridauth/hybridauth
5 * (c) 2017 Hybridauth authors | https://hybridauth.github.io/license.html
6 */
7
8 namespace Hybridauth\Provider;
9
10 use Hybridauth\Adapter;
11
12 /**
13 * Generic OpenID providers adapter.
14 *
15 * Example:
16 *
17 * $config = [
18 * 'callback' => Hybridauth\HttpClient\Util::getCurrentUrl(),
19 *
20 * // authenticate with Yahoo openid
21 * 'openid_identifier' => 'https://open.login.yahooapis.com/openid20/www.yahoo.com/xrds'
22 *
23 * // authenticate with stackexchange network openid
24 * // 'openid_identifier' => 'https://openid.stackexchange.com/',
25 *
26 * // authenticate with Steam openid
27 * // 'openid_identifier' => 'http://steamcommunity.com/openid',
28 *
29 * // etc.
30 * ];
31 *
32 * $adapter = new Hybridauth\Provider\OpenID($config);
33 *
34 * try {
35 * $adapter->authenticate();
36 *
37 * $userProfile = $adapter->getUserProfile();
38 * } catch (\Exception $e) {
39 * echo $e->getMessage() ;
40 * }
41 */
42 class OpenID extends Adapter\OpenID
43 {
44 }
45