web\JsExpression __toString()

__toString() public method The PHP magic function converting an object into a string. public string __toString ( )return string The JavaScript expression.

web\JsExpression __construct()

__construct() public method Constructor. public void __construct ( $expression, $config = [] )$expression string The JavaScript expression represented by this object $config array Additional configurations for this object

web\JsExpression $expression

$expression public property The JavaScript expression represented by this object public string $expression = null

web\JqueryAsset $sourcePath

$sourcePath public property public $sourcePath = '@bower/jquery/dist'

web\JqueryAsset $js

$js public property public $js = ['jquery.js']

web\IdentityInterface validateAuthKey()

validateAuthKey() public abstract method Validates the given auth key. This is required if yii\web\User::$enableAutoLogin is enabled. See also getAuthKey(). public abstract boolean validateAuthKey ( $authKey )$authKey string The given auth key return boolean Whether the given auth key is valid.

web\IdentityInterface getId()

getId() public abstract method Returns an ID that can uniquely identify a user identity. public abstract string|integer getId ( )return string|integer An ID that uniquely identifies a user identity.

web\IdentityInterface getAuthKey()

getAuthKey() public abstract method Returns a key that can be used to check the validity of a given identity ID. The key should be unique for each individual user, and should be persistent so that it can be used to check the validity of the user identity. The space of such keys should be big enough to defeat potential identity attacks. This is required if yii\web\User::$enableAutoLogin is enabled. See also validateAuthKey(). public abstract string getAuthKey ( )return string A key that i

web\IdentityInterface findIdentityByAccessToken()

findIdentityByAccessToken() public abstract static method Finds an identity by the given token. public abstract static yii\web\IdentityInterface findIdentityByAccessToken ( $token, $type = null )$token mixed The token to be looked for $type mixed The type of the token. The value of this parameter depends on the implementation. For example, yii\filters\auth\HttpBearerAuth will set this parameter to be yii\filters\auth\HttpBearerAuth. return yii\web\IdentityInterface The identity objec

web\IdentityInterface findIdentity()

findIdentity() public abstract static method Finds an identity by the given ID. public abstract static yii\web\IdentityInterface findIdentity ( $id )$id string|integer The ID to be looked for return yii\web\IdentityInterface The identity object that matches the given ID. Null should be returned if such an identity cannot be found or the identity is not in an active state (disabled, deleted, etc.)