public function JsonWebTokenInterface::unsetClaim in JSON Web Token Authentication (JWT) 8.0
Same name and namespace in other branches
- 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\JsonWebTokenCode
public function unsetClaim($claim);