Skip to content

Commit

Permalink
Put false in backticks in the doc for better distinction
Browse files Browse the repository at this point in the history
Co-authored-by: Shahed Nasser <[email protected]>
  • Loading branch information
webgodo and shahednasser authored Nov 11, 2024
1 parent 63240d2 commit 4d9bcfc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ The `authenticate` middleware function accepts three parameters:
2. An array of types of authentication methods allowed. Both `user` and `customer` scopes support `session` and `bearer`. The `admin` scope also supports the `api-key` authentication method.
3. An optional object of configurations accepting the following properties:
- `allowUnauthenticated`: (default: `false`) A boolean indicating whether authentication is required. For example, you may have an API route where you want to access the logged-in customer if available, but guest customers can still access it too.
- `allowUnregistered` (default: false): A boolean indicating if unregistered users should be allowed access. This is useful when you want to allow users who aren’t registered to access certain routes.
- `allowUnregistered` (default: `false`): A boolean indicating if unregistered users should be allowed access. This is useful when you want to allow users who aren’t registered to access certain routes.

---

Expand Down

0 comments on commit 4d9bcfc

Please sign in to comment.