2024-09-08 09:24:05 +01:00
..
2024-08-28 13:33:52 +01:00
2024-08-28 13:33:52 +01:00
2024-09-08 09:24:05 +01:00
2024-08-28 13:33:52 +01:00

Bearer Auth Example

This example demonstrates how to use bearer authentication in Dumbo.

Running the Example

  1. Install dependencies:

    composer install
    
  2. Start the server:

    composer start
    
  3. Access the protected route:

      curl -H "Authorization: Bearer mysupersecret" http://localhost:8000