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 @@ -119,14 +119,14 @@ permissions the token grants to the user. Scopes are provided when the token is
119119cannot be modified afterword.
120120
121121``` php
122- $token = $user->gererateHmacToken ('Work Laptop', ['posts.manage', 'forums.manage']);
122+ $token = $user->generateHmacToken ('Work Laptop', ['posts.manage', 'forums.manage']);
123123```
124124
125125By default, a user is granted a wildcard scope which provides access to all scopes. This is the
126126same as:
127127
128128``` php
129- $token = $user->gererateHmacToken ('Work Laptop', ['*']);
129+ $token = $user->generateHmacToken ('Work Laptop', ['*']);
130130```
131131
132132During authentication, the HMAC Keys the user used is stored on the user. Once authenticated, you
You can’t perform that action at this time.
0 commit comments