class Doorkeeper::OAuth::ClientCredentialsRequest

def custom_token_attributes_with_data

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