Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 386 Bytes

File metadata and controls

18 lines (10 loc) · 386 Bytes

Lumen API Authentication Example

Controllers

controllers are on App\Http\Controllers.

  • RegisterController (Creating new user)
  • Login controller (Login user via email and password)
  • UserController (show authenticated users profile)

Middleware

You can configure Middleware Providers at App\Providers\AuthServiceProvider.

Routes

API routes are on path routes/web.