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
9090cannot be modified afterword.
9191
9292``` php
93- $token = $user->gererateAccessToken ('Work Laptop', ['posts.manage', 'forums.manage']);
93+ $token = $user->generateAccessToken ('Work Laptop', ['posts.manage', 'forums.manage']);
9494```
9595
9696By default a user is granted a wildcard scope which provides access to all scopes. This is the
9797same as:
9898
9999``` php
100- $token = $user->gererateAccessToken ('Work Laptop', ['*']);
100+ $token = $user->generateAccessToken ('Work Laptop', ['*']);
101101```
102102
103103During 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