protected function getClaimOrNull( $claim )
    {
        $claim = $this->token->getPayload()->findClaimByName( $claim );
        return $claim ? $claim->getValue() : null;
    }
protected function getClaimOrNull( $claim )
    {
        $claim = $this->token->getPayload()->findClaimByName( $claim );
        return $claim ? $claim->getValue() : null;
    }
protected function getClaimOrNull ( $ claim ) { $ claim = $ this -> token -> getPayload ( ) -> findClaimByName ( $ claim ) ; return $ claim ? $ claim -> getValue ( ) : null ; }
Get a claim if we have one or return null
@param string $claim the name of the claim
@return mixed
Get a claim if we have one or return null