We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4a1582 commit 54f2864Copy full SHA for 54f2864
src/Authentication/Traits/HasHMACTokens.php
@@ -75,18 +75,18 @@ public function hmacTokens(): array
75
}
76
77
/**
78
- * Given a secret Key, it will locate it within the system.
+ * Given an HMAC Key, it will locate it within the system.
79
*/
80
- public function getHmacToken(?string $secretKey): ?AccessToken
+ public function getHmacToken(?string $key): ?AccessToken
81
{
82
- if (empty($secretKey)) {
+ if (empty($key)) {
83
return null;
84
85
86
/** @var UserIdentityModel $identityModel */
87
$identityModel = model(UserIdentityModel::class);
88
89
- return $identityModel->getHmacToken($this, $secretKey);
+ return $identityModel->getHmacToken($this, $key);
90
91
92
0 commit comments