From eba30e2fbc2ba28c9bc1db45880c24810f08faa7 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Thu, 6 Feb 2025 21:18:53 +0330 Subject: [PATCH] docs: correcting the typo in method name `generateHmacToken` --- docs/references/authentication/hmac.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/references/authentication/hmac.md b/docs/references/authentication/hmac.md index fed1f0bb7..737199cbf 100644 --- a/docs/references/authentication/hmac.md +++ b/docs/references/authentication/hmac.md @@ -119,14 +119,14 @@ permissions the token grants to the user. Scopes are provided when the token is cannot be modified afterword. ```php -$token = $user->gererateHmacToken('Work Laptop', ['posts.manage', 'forums.manage']); +$token = $user->generateHmacToken('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->gererateHmacToken('Work Laptop', ['*']); +$token = $user->generateHmacToken('Work Laptop', ['*']); ``` During authentication, the HMAC Keys the user used is stored on the user. Once authenticated, you