You are here

public function UserEmailVerificationInterface::buildHmac in User email verification 8

Build a base-64 encoded sha-256 HMAC.

Parameters

int $uid: User ID.

int $timestamp: Timestamp value.

Return value

string A base-64 encoded sha-256 hmac.

1 method overrides UserEmailVerificationInterface::buildHmac()
UserEmailVerification::buildHmac in src/UserEmailVerification.php
Build a base-64 encoded sha-256 HMAC.

File

src/UserEmailVerificationInterface.php, line 123

Class

UserEmailVerificationInterface
Interface defining User email verification helper service.

Namespace

Drupal\user_email_verification

Code

public function buildHmac($uid, $timestamp);