module Doorkeeper::OAuth::Helpers::UniqueToken

def self.generate(options = {})

def self.generate(options = {})
  generator_method = options.delete(:generator) || SecureRandom.method(:hex)
  token_size       = options.delete(:size)      || 32
  generator_method.call(token_size)
end