You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But in typical applications, you are actually able to manage your access tokens. You can create a token for third party clients (which doesn't necessary have a login form). You can also delete old access tokens (imagine your device was lost and you want to revert every access token on that device).
This means, we probably shouldn't confuse AuthController.login with AccessTokensController.store, or AuthController.logout with AccessTokensController.destroy.
And there is another NewAccountController. In many projects, Account is a different concept than User, which represent financial accounts. I doubt if this makes sense.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Current default AdonisJS project AccessTokensController has two methods, store for login, destroy for logout.
But in typical applications, you are actually able to manage your access tokens. You can create a token for third party clients (which doesn't necessary have a login form). You can also delete old access tokens (imagine your device was lost and you want to revert every access token on that device).
This means, we probably shouldn't confuse
AuthController.loginwithAccessTokensController.store, orAuthController.logoutwithAccessTokensController.destroy.And there is another NewAccountController. In many projects,
Accountis a different concept thanUser, which represent financial accounts. I doubt if this makes sense.All reactions