Skip to content

Commit 69a1631

Browse files
committed
Merge pull request #631 from prewk/patch-2
The class in step 1 now better corresponds to the class in step 2
2 parents eed8a11 + 80d412d commit 69a1631

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/authorization-server/password.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
'grant_types' => [
66
'password' => [
77
'class' => '\League\OAuth2\Server\Grant\PasswordGrant',
8-
'callback' => '\App\PasswordVerifier@verify',
8+
'callback' => '\App\PasswordGrantVerifier@verify',
99
'access_token_ttl' => 3600
1010
]
1111
]
@@ -14,6 +14,8 @@
1414
2. Create a class with a `verify` method where you check if the provided user is a valid one.
1515

1616
```php
17+
namespace App;
18+
1719
use Illuminate\Support\Facades\Auth;
1820

1921
class PasswordGrantVerifier

0 commit comments

Comments
 (0)