You are here

public function JsonWebTokenInterface::unsetClaim in JSON Web Token Authentication (JWT) 8.0

Same name and namespace in other branches
  1. 8 src/JsonWebToken/JsonWebTokenInterface.php \Drupal\jwt\JsonWebToken\JsonWebTokenInterface::unsetClaim()

Remove a claim from the JWT payload.

@See Drupal\jwt\JsonWebTokenInterface::getClaim().

Parameters

mixed $claim: Either a string or indexed array of strings.

1 method overrides JsonWebTokenInterface::unsetClaim()
JsonWebToken::unsetClaim in src/JsonWebToken/JsonWebToken.php
Remove a claim from the JWT payload.

File

src/JsonWebToken/JsonWebTokenInterface.php, line 51

Class

JsonWebTokenInterface
Interface JsonWebTokenInterface.

Namespace

Drupal\jwt\JsonWebToken

Code

public function unsetClaim($claim);