Interface Yiisoft\Yii\AuthClient\AuthClientInterface
ClientInterface declares basic interface all Auth clients should follow.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| buildAuthUrl() | Yiisoft\Yii\AuthClient\AuthClientInterface | |
| getButtonClass() | Yiisoft\Yii\AuthClient\AuthClientInterface | |
| getClientId() | The Client id is publically visible in button urls The Client secret must not be made available publically => exclude from interface | Yiisoft\Yii\AuthClient\AuthClientInterface |
| getName() | Yiisoft\Yii\AuthClient\AuthClientInterface | |
| getTitle() | Yiisoft\Yii\AuthClient\AuthClientInterface | |
| getViewOptions() | Yiisoft\Yii\AuthClient\AuthClientInterface |
Method Details
| public abstract string buildAuthUrl ( \Psr\Http\Message\ServerRequestInterface $incomingRequest, array $params ) | ||
| $incomingRequest | \Psr\Http\Message\ServerRequestInterface | |
| $params | array | |
public function buildAuthUrl(ServerRequestInterface $incomingRequest, array $params): string;
The Client id is publically visible in button urls The Client secret must not be made available publically => exclude from interface
| public abstract string getClientId ( ) |
public function getClientId(): string;
| public abstract string getTitle ( ) | ||
| return | string |
Service title. |
|---|---|---|
public function getTitle(): string;
| public abstract array getViewOptions ( ) | ||
| return | array |
View options in format: optionName => optionValue |
|---|---|---|
public function getViewOptions(): array;
Signup or Login in order to comment.