Class humhub\modules\user\widgets\AuthChoice

Inheritancehumhub\modules\user\widgets\AuthChoice » yii\authclient\widgets\AuthChoice

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
defaultBaseAuthUrl() humhub\modules\user\widgets\AuthChoice
renderMainContent() Renders the main content, which includes all external services links. humhub\modules\user\widgets\AuthChoice

Property Details

$maxShowClients public property

Number of clients to show without folding

$popupMode public property
public $popupMode false
$showButtonColors public property

Show auth button colors

public boolean $showButtonColors false

Method Details

clientLink() public method

public void clientLink ( $client, $text null, array $htmlOptions = [] )
$client
$text
$htmlOptions
defaultBaseAuthUrl() protected method

protected void defaultBaseAuthUrl ( )
getClients() public method

public \yii\authclient\ClientInterface[] getClients ( )
return \yii\authclient\ClientInterface[]

Auth providers

hasClients() public static method

Returns default auth clients list.

public static \yii\authclient\ClientInterface[] hasClients ( )
return \yii\authclient\ClientInterface[]

Auth clients list.

init() public method

public void init ( )
renderMainContent() protected method

Renders the main content, which includes all external services links.

protected void renderMainContent ( )
run() public method

public void run ( )
setClients() public method

public void setClients ( array $clients )
$clients \yii\authclient\ClientInterface[]

Auth providers