protected function generateKey(ResourceOwnerInterface $resourceOwner, $key, $type)
    {
        return sprintf('_hwi_oauth.%s.%s.%s.%s', $resourceOwner->getName(), $resourceOwner->getOption('client_id'), $type, $key);
    }
protected function generateKey(ResourceOwnerInterface $resourceOwner, $key, $type)
    {
        return sprintf('_hwi_oauth.%s.%s.%s.%s', $resourceOwner->getName(), $resourceOwner->getOption('client_id'), $type, $key);
    }
protected function generateKey ( ResourceOwnerInterface $ resourceOwner , $ key , $ type ) { return sprintf ( '_hwi_oauth.%s.%s.%s.%s' , $ resourceOwner -> getName ( ) , $ resourceOwner -> getOption ( 'client_id' ) , $ type , $ key ) ; }
Key to for fetching or saving a token.

@param ResourceOwnerInterface $resourceOwner
@param string                 $key
@param string                 $type

@return string
Key to for fetching or saving a token .