0

Can any one explained in detail how Laravel authentication works how is the flow

Comments
  • 0
    Type of auth? Oauth2? Generic or trough facebook or google?
  • 0
  • 0
    @vishwajeet when im home ill look trough my own documentation i had trouble with that one as well
  • 0
    Thanks bro reply soon
  • 1
    Following...Working on a Laravel project myself. Have you tried watching the laracasts videos? Sometimes someone showing you is the best way to understand it.
  • 1
    From a friend "It literally checks in the db or array against a set of details, using the Auth::check() function. If it matches, then it saves the session. Then you use the same function anywhere else to check if you're authenticated."
  • 0
    It looks up the user in the database via the username and then does a hash match to check the passwords match.
  • 0
    @vishwajeet sorry for the late reply, i have been digging into the code and its been tossed over more often than it should. Lost the thevexct trail
Add Comment