You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
852 B
52 lines
852 B
11 years ago
|
<?php
|
||
|
/**
|
||
|
* @link http://www.yiiframework.com/
|
||
|
* @copyright Copyright (c) 2008 Yii Software LLC
|
||
|
* @license http://www.yiiframework.com/license/
|
||
|
*/
|
||
|
|
||
11 years ago
|
namespace yii\authclient;
|
||
11 years ago
|
|
||
|
/**
|
||
|
* Class ProviderInterface
|
||
|
*
|
||
|
* @author Paul Klimov <klimov.paul@gmail.com>
|
||
|
* @since 2.0
|
||
|
*/
|
||
11 years ago
|
interface ClientInterface
|
||
11 years ago
|
{
|
||
|
/**
|
||
|
* @param string $id service id.
|
||
|
*/
|
||
|
public function setId($id);
|
||
|
|
||
|
/**
|
||
|
* @return string service id
|
||
|
*/
|
||
|
public function getId();
|
||
|
|
||
|
/**
|
||
|
* @return string service name.
|
||
|
*/
|
||
|
public function getName();
|
||
|
|
||
|
/**
|
||
|
* @param string $name service name.
|
||
|
*/
|
||
|
public function setName($name);
|
||
|
|
||
|
/**
|
||
|
* @return string service title.
|
||
|
*/
|
||
|
public function getTitle();
|
||
|
|
||
|
/**
|
||
|
* @param string $title service title.
|
||
|
*/
|
||
|
public function setTitle($title);
|
||
|
|
||
|
/**
|
||
11 years ago
|
* @return array list of user attributes
|
||
11 years ago
|
*/
|
||
11 years ago
|
public function getUserAttributes();
|
||
11 years ago
|
}
|