protected function validateSubject()
    {
        // If the provider doesn't have the necessary method
        // to get the underlying model name then allow.
        if (! method_exists($this->provider, 'getModel')) {
            return true;
        }

        return $this->jwt->checkSubjectModel($this->provider->getModel());
    }
protected function validateSubject()
    {
        // If the provider doesn't have the necessary method
        // to get the underlying model name then allow.
        if (! method_exists($this->provider, 'getModel')) {
            return true;
        }

        return $this->jwt->checkSubjectModel($this->provider->getModel());
    }
protected function validateSubject ( ) { // If the provider doesn't have the necessary method // to get the underlying model name then allow. if ( ! method_exists ( $ this -> provider , 'getModel' ) ) { return true ; } return $ this -> jwt -> checkSubjectModel ( $ this -> provider -> getModel ( ) ) ; }
Ensure the JWTSubject matches what is in the token.

@return  bool
Ensure the JWTSubject matches what is in the token .