MCPcopy Create free account
hub / github.com/error311/FileRise / rememberTokenHash

Method rememberTokenHash

src/FileRise/Domain/AuthModel.php:779–783  ·  view source on GitHub ↗
(string $token)

Source from the content-addressed store, hash-verified

777 }
778
779 protected static function rememberTokenHash(string $token): string
780 {
781 $key = $GLOBALS['encryptionKey'] ?? '';
782 return hash_hmac('sha256', $token, $key);
783 }
784
785 protected static function loadRememberTokenStore(): array
786 {

Callers 4

validateRememberTokenMethod · 0.95
consumeRememberTokenMethod · 0.95
issueRememberTokenMethod · 0.95
revokeRememberTokenMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected