You are here

public function Oauth2ClientInterface::setSecret in Simple OAuth (OAuth2) & OpenID Connect 8.2

Sets the client secret.

Parameters

string $secret: The new unhashed secret.

Return value

\Drupal\simple_oauth\Entity\Oauth2ClientInterface The called client entity.

1 method overrides Oauth2ClientInterface::setSecret()
Oauth2Client::setSecret in src/Entity/Oauth2Client.php
Sets the client secret.

File

src/Entity/Oauth2ClientInterface.php, line 33

Class

Oauth2ClientInterface
Provides an interface defining Access Token entities.

Namespace

Drupal\simple_oauth\Entity

Code

public function setSecret($secret);