Interface dektrium\user\clients\ClientInterface

Extendsyii\authclient\ClientInterface
Implemented bydektrium\user\clients\Facebook, dektrium\user\clients\GitHub, dektrium\user\clients\Google, dektrium\user\clients\LinkedIn, dektrium\user\clients\Twitter, dektrium\user\clients\VKontakte, dektrium\user\clients\Yandex

Enhances default yii client interface by adding methods that can be used to get user's email and username.

Method Details

getEmail() public abstract method

public abstract string|null getEmail ( )
return string|null

User's email

getUsername() public abstract method

public abstract string|null getUsername ( )
return string|null

User's username