protected function getAuthorizationParameters(array $options)
    {
        $params = parent::getAuthorizationParameters($options);
        unset($params['approval_prompt']);
        if (!empty($options['prompt'])) {
            $params['prompt'] = $options['prompt'];
        }

        return $params;
    }
protected function getAuthorizationParameters(array $options)
    {
        $params = parent::getAuthorizationParameters($options);
        unset($params['approval_prompt']);
        if (!empty($options['prompt'])) {
            $params['prompt'] = $options['prompt'];
        }

        return $params;
    }
protected function getAuthorizationParameters ( array $ options ) { $ params = parent :: getAuthorizationParameters ( $ options ) ; unset ( $ params [ 'approval_prompt' ] ) ; if ( ! empty ( $ options [ 'prompt' ] ) ) { $ params [ 'prompt' ] = $ options [ 'prompt' ] ; } return $ params ; }
Returns authorization parameters based on provided options.
Fitbit does not use the 'approval_prompt' param and here we remove it.

@param array $options

@return array Authorization parameters
Returns authorization parameters based on provided options . Fitbit does not use the approval_prompt param and here we remove it .