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?