Hello to all, please read this carefully to understand my problem, thank you.
Okey I need to login the user matching the credentials with an external api, this api only return true if the user:pass are correct otherwise return false, okey now with this flag i need to create something like the array in the User model like
'100' => [
'id' => '100',
'username' => 'admin',
'password' => 'admin',
'authKey' => 'test100key',
],
obviusly the id, and authKey had to be create dinamically.
and pass it throut the login method, but idk how to do this, please im newbie in yii2