public function checkProvider($provider)
    {
        if (($prv = $this->payload()->get('prv')) === null) {
            return true;
        }

        return $this->hashProvider($provider) === $prv;
    }
public function checkProvider($provider)
    {
        if (($prv = $this->payload()->get('prv')) === null) {
            return true;
        }

        return $this->hashProvider($provider) === $prv;
    }
public function checkProvider ( $ provider ) { if ( ( $ prv = $ this -> payload ( ) -> get ( 'prv' ) ) === null ) { return true ; } return $ this -> hashProvider ( $ provider ) === $ prv ; }
Check if the provider matches the one saved in the token.

@param  string|object  $provider

@return bool
Check if the provider matches the one saved in the token .