lundi 1 juillet 2019

Can I use the built-in user management features of Laravel 5.8 via REST endpoints rather than website routes?

Laravel comes with many useful user management features, such as built-in routes for create user, validate email address, log-in and reset password. However, the implementation is abstracted away behind predefined routes and controllers.

I would like to build a single page app with no synchronous page navigation, so I would need the functionality to register, validate, reset etc to be API endpoints. Is it possible to apply this built in functionality inside my own API controllers rather than either using the supplied web controllers that return an html page or having to define the workflows for these functions from scratch?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire