Commit 722c93fc by Paul Klimov

Yandex OpenId client added.

parent 938b6c4e
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace yii\authclient\clients;
use yii\authclient\OpenId;
/**
* Class YandexOpenId
*
* @author Paul Klimov <klimov.paul@gmail.com>
* @since 2.0
*/
class YandexOpenId extends OpenId
{
public function init()
{
parent::init();
$this->setIdentity('http://openid.yandex.ru');
$this->requiredAttributes = [
'namePerson',
'contact/email',
];
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment