Supports Yadis and HTML discovery.
Usage:
~~~
use yii\authclient\OpenId;
$client = new OpenId();
$client->authUrl = 'https://open.id.provider.url'; // Setup provider endpoint
$url = $client->buildAuthUrl(); // Get authentication URL
return Yii::$app->getResponse()->redirect($url); // Redirect to authentication URL
After user returns at our site:
if ($client->validate()) { // validate response
$userAttributes = $client->getUserAttributes(); // get account info
...
}
~~~
AX and SREG extensions are supported.
To use them, specify [[requiredAttributes]] and/or [[optionalAttributes]].