We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eed8a11 commit 80d412dCopy full SHA for 80d412d
docs/authorization-server/password.md
@@ -5,7 +5,7 @@
5
'grant_types' => [
6
'password' => [
7
'class' => '\League\OAuth2\Server\Grant\PasswordGrant',
8
- 'callback' => '\App\PasswordVerifier@verify',
+ 'callback' => '\App\PasswordGrantVerifier@verify',
9
'access_token_ttl' => 3600
10
]
11
@@ -14,6 +14,8 @@
14
2. Create a class with a `verify` method where you check if the provided user is a valid one.
15
16
```php
17
+ namespace App;
18
+
19
use Illuminate\Support\Facades\Auth;
20
21
class PasswordGrantVerifier
0 commit comments