Interface yii\authclient\ClientInterface
ClientInterface declares basic interface all Auth clients should follow.
Public Methods
Method Details
public abstract string getId ( ) | ||
return | string | Service id |
---|
public abstract string getName ( ) | ||
return | string | Service name. |
---|
public abstract string getTitle ( ) | ||
return | string | Service title. |
---|
public abstract array getUserAttributes ( ) | ||
return | array | List of user attributes |
---|
public abstract array getViewOptions ( ) | ||
return | array | View options in format: optionName => optionValue |
---|
public abstract void setId ( $id ) | ||
$id | string | Service id. |
public abstract void setName ( $name ) | ||
$name | string | Service name. |
public abstract void setTitle ( $title ) | ||
$title | string | Service title. |