public function AccessTokenValue::digest in Simple OAuth (OAuth2) & OpenID Connect 8
Digest the values to produce a token.
Return value
string
Overrides AccessTokenValueInterface::digest
File
- src/
AccessTokenValue.php, line 45
Class
Namespace
Drupal\simple_oauthCode
public function digest() {
return Crypt::hmacBase64(Json::encode($this
->getValues()), Settings::getHashSalt());
}