registerClientScript() protected method Registers necessary JavaScript. protected void registerClientScript ( )
init() public method Initializes the widget. public void init ( )
getCallback() public method public string getCallback ( )return string Callback JavaScript function name.
generateCallback() protected method Generates JavaScript callback function, which will be used to handle auth response. protected string generateCallback ( $url = [] )$url array Auth callback URL. return string JavaScript function name.
$callback public property Callback JavaScript function name or URL config. public string getCallback ( )public void setCallback ( $callback )
$buttonHtmlOptions public property Button tag HTML options, which will be merged with the default ones. public array $buttonHtmlOptions = []
$sourcePath public property public $sourcePath = '@yii/authclient/assets'
$css public property public $css = ['authchoice.css']
$client public property Auth client instance. public yii\authclient\ClientInterface $client = null
$authChoice public property Parent AuthChoice widget public yii\authclient\widgets\AuthChoice $authChoice = null
Page 595 of 633