You are here

public function JsonWebToken::getPayload in JSON Web Token Authentication (JWT) 8

Same name and namespace in other branches
  1. 8.0 src/JsonWebToken/JsonWebToken.php \Drupal\jwt\JsonWebToken\JsonWebToken::getPayload()

Gets the unencoded payload as an object.

Return value

\stdclass The unencoded payload.

Overrides JsonWebTokenInterface::getPayload

File

src/JsonWebToken/JsonWebToken.php, line 33

Class

JsonWebToken
Class JsonWebToken.

Namespace

Drupal\jwt\JsonWebToken

Code

public function getPayload() {
  return $this->payload;
}