Open kartik-v opened 5 years ago
Thanks @kartik-v for bringing the discussion about it, but first would require to split the components (as of https://github.com/2amigos/yii2-usuario/tree/usuario-2.0-dev I am trying to do), then think how this enhancement should be added.
That is something it hit my mind many times. Thanks for bringing the subject.
any updates on this? Any tutorial or documentation to do this? Thanks
Just a suggestion to see if we can enhance the module for usage with RESTFul API architecture.
The authentication needs to follow these Yii2 RESTFul best practices
Some views:
auth
table to storeaccess_token
/refresh_token
for each userfindIdentityByAccessToken
, methods to createaccess_token
andrefresh_token
and other suggestions as in Yii2 guide