Sum1
(Sum_)
1
Hi. I checking login and password by connecting to another server via SOAP.
If I get ok response I must login to yii2 (advanced).
How can I do this?
I have id, login and password verifyed by server via soap. I have no database and a full list of users.
weluse
(Jboehnke)
2
Hi Sum_
you can call this after checking password to login your user
Yii::$app->user->login($identity, $this->rememberMe ? 3600*24*30 : 0);
$identity maybe your user model
dimis283
(Dimis283)
3
I found this helpful about user login via database.