From 73df536c584495d9111801341b229fd8dd6fba6e Mon Sep 17 00:00:00 2001 From: grimpirate Date: Mon, 26 Aug 2024 11:37:42 -0400 Subject: [PATCH] docs: typo fix in method name --- docs/references/authentication/tokens.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/references/authentication/tokens.md b/docs/references/authentication/tokens.md index 11b03afcd..65df886d0 100644 --- a/docs/references/authentication/tokens.md +++ b/docs/references/authentication/tokens.md @@ -90,14 +90,14 @@ permissions the token grants to the user. Scopes are provided when the token is cannot be modified afterword. ```php -$token = $user->gererateAccessToken('Work Laptop', ['posts.manage', 'forums.manage']); +$token = $user->generateAccessToken('Work Laptop', ['posts.manage', 'forums.manage']); ``` By default a user is granted a wildcard scope which provides access to all scopes. This is the same as: ```php -$token = $user->gererateAccessToken('Work Laptop', ['*']); +$token = $user->generateAccessToken('Work Laptop', ['*']); ``` During authentication, the token the user used is stored on the user. Once authenticated, you