src/Server/Token.php
protected function getClaim($claim)
    {
        $token = $this->parseToken();

        return $token ? $token->getClaim($claim) : null;
    }
protected function getClaim($claim)
    {
        $token = $this->parseToken();

        return $token ? $token->getClaim($claim) : null;
    }
protected function getClaim ( $ claim ) { $ token = $ this -> parseToken ( ) ; return $ token ? $ token -> getClaim ( $ claim ) : null ; }
Get the given claim from the JWT.

@return mixed|null
Get the given claim from the JWT .