We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 918051a commit 73df536Copy full SHA for 73df536
1 file changed
docs/references/authentication/tokens.md
@@ -90,14 +90,14 @@ permissions the token grants to the user. Scopes are provided when the token is
90
cannot be modified afterword.
91
92
```php
93
-$token = $user->gererateAccessToken('Work Laptop', ['posts.manage', 'forums.manage']);
+$token = $user->generateAccessToken('Work Laptop', ['posts.manage', 'forums.manage']);
94
```
95
96
By default a user is granted a wildcard scope which provides access to all scopes. This is the
97
same as:
98
99
100
-$token = $user->gererateAccessToken('Work Laptop', ['*']);
+$token = $user->generateAccessToken('Work Laptop', ['*']);
101
102
103
During authentication, the token the user used is stored on the user. Once authenticated, you
0 commit comments