module Doorkeeper::Grape::Helpers

def doorkeeper_token

def doorkeeper_token
  @doorkeeper_token ||= OAuth::Token.authenticate(
    decorated_request,
    *Doorkeeper.config.access_token_methods,
  )
end