File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
docs/references/authentication Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -90,14 +90,14 @@ permissions the token grants to the user. Scopes are provided when the token is
90
90
cannot be modified afterword.
91
91
92
92
``` php
93
- $token = $user->gererateAccessToken ('Work Laptop', ['posts.manage', 'forums.manage']);
93
+ $token = $user->generateAccessToken ('Work Laptop', ['posts.manage', 'forums.manage']);
94
94
```
95
95
96
96
By default a user is granted a wildcard scope which provides access to all scopes. This is the
97
97
same as:
98
98
99
99
``` php
100
- $token = $user->gererateAccessToken ('Work Laptop', ['*']);
100
+ $token = $user->generateAccessToken ('Work Laptop', ['*']);
101
101
```
102
102
103
103
During authentication, the token the user used is stored on the user. Once authenticated, you
You can’t perform that action at this time.
0 commit comments