Skip to content

Commit 802a37a

Browse files
committed
Docs update
1 parent 7a1b8a8 commit 802a37a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

docs/docs/2.0/auth/auth.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# Authentication setup
22

3-
Laravel Restify has the authentication implemented with Passport, so you can use it out of the box.
3+
Laravel Restify has support for authentication with Passport or Laravel Airlock.
4+
45
You'll finally enjoy the auth setup (`register`, `login`, `forgot` and `reset password`).
56

67
:::tip
78

8-
First make sure you have installed and configured the Laravel Passport properly.
9-
This can be done easily by using the follow Restify command:
9+
Firstly make sure you have setup the desired provider in the `restify.auth.provider`.
10+
and make sure you have installed and configured the Laravel Passport (or Restify) properly.
11+
The passport check could be done easily by using the follow Restify command:
1012

1113
`php artisan restify:check-passport`
1214

@@ -15,9 +17,8 @@ This command will become with suggestions if anything is setup wrong.
1517

1618
## Prerequisites
1719
- When using the Restify authentication service, you will need to migrate the `users` and `password_resets` table (these 2 migrations are by default in a fresh laravel app, however you may modify the users table as you prefer)
18-
- Make sure your authenticatable entity (usually `User`) implements: `Illuminate\Contracts\Auth\Authenticatable`
19-
- Make sure your authenticatable implements the `Binaryk\LaravelRestify\Contracts\Passportable` interface.
20-
- Check if `restify:check-passport` passes with success.
20+
21+
- Make sure your authenticatable entity (usually `User`) implements: `Illuminate\Contracts\Auth\Authenticatable` (or `Illuminate\Contracts\Auth\Restifyable`)
2122

2223
## Register users
2324

0 commit comments

Comments
 (0)