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