authclient\AuthAction getCancelUrl()

getCancelUrl() public method public string getCancelUrl ( )return string Cancel URL.

authclient\AuthAction defaultSuccessUrl()

defaultSuccessUrl() protected method Creates default $successUrl value. protected string defaultSuccessUrl ( )return string Success URL value.

authclient\AuthAction redirect()

redirect() public method Redirect to the given URL or simply close the popup window. public yii\web\Response redirect ( $url, $enforceRedirect = true )$url mixed URL to redirect, could be a string or array config to generate a valid URL. $enforceRedirect boolean Indicates if redirect should be performed even in case of popup window. return yii\web\Response Response instance.

authclient\AuthAction defaultCancelUrl()

defaultCancelUrl() protected method Creates default $cancelUrl value. protected string defaultCancelUrl ( )return string Cancel URL value.

authclient\AuthAction getSuccessUrl()

getSuccessUrl() public method public string getSuccessUrl ( )return string Successful URL.

authclient\AuthAction authOAuth2()

authOAuth2() protected method Performs OAuth2 auth flow. protected yii\web\Response authOAuth2 ( $client )$client yii\authclient\OAuth2 Auth client instance. return yii\web\Response Action response. throws yii\base\Exception on failure.

authclient\AuthAction authSuccess()

authSuccess() protected method This method is invoked in case of successful authentication via auth client. protected yii\web\Response authSuccess ( $client )$client yii\authclient\ClientInterface Auth client instance. return yii\web\Response Response instance. throws yii\base\InvalidConfigException on invalid success callback.

authclient\AuthAction authOpenId()

authOpenId() protected method Performs OpenID auth flow. protected yii\web\Response authOpenId ( $client )$client yii\authclient\OpenId Auth client instance. return yii\web\Response Action response. throws yii\base\Exception on failure. throws yii\web\HttpException on failure.

authclient\AuthAction authOAuth1()

authOAuth1() protected method Performs OAuth1 auth flow. protected yii\web\Response authOAuth1 ( $client )$client yii\authclient\OAuth1 Auth client instance. return yii\web\Response Action response.

authclient\AuthAction auth()

auth() protected method protected yii\web\Response auth ( $client )$client mixed Auth client instance. return yii\web\Response Response instance. throws yii\base\NotSupportedException on invalid client.