How Httpbasic Works?

In my controller i putted:


public function behaviors()

	{

	    return ArrayHelper::merge(parent::behaviors(), [

	        'authenticator' => [

	            'class' => HttpBasicAuth::className(),

	        ],

	    ]);

	}

When i had implemented the IdentityInterface class, i saw that the method called by HttpBasicAuth is findIdentityByAccessToken. But it just use the token and where is the password field?

Check the auth property of HttpBasicAuth class: http://www.yiiframework.com/doc-2.0/yii-filters-auth-httpbasicauth.html#$auth-detail

Thanks…i understood: