You are here

public function Blacklists::blacklist in Auth0 Single Sign On 8.2

Parameters

string $aud:

string $jti:

Return value

mixed

File

vendor/auth0/auth0-php/src/API/Management/Blacklists.php, line 27

Class

Blacklists

Namespace

Auth0\SDK\API\Management

Code

public function blacklist($aud, $jti) {
  return $this->apiClient
    ->method('post')
    ->addPath('blacklists')
    ->addPath('tokens')
    ->withBody(json_encode([
    'aud' => $aud,
    'jti' => $jti,
  ]))
    ->call();
}