class Doorkeeper::OAuth::RefreshTokenRequest

def custom_token_attributes_with_data

def custom_token_attributes_with_data
  refresh_token
  .attributes
  .with_indifferent_access
  .slice(*Doorkeeper.config.custom_access_token_attributes)
  .symbolize_keys
end