class Doorkeeper::Request::AuthorizationCode
def grant
def grant raise Errors::MissingRequiredParameter, :code if parameters[:code].blank? Doorkeeper.config.access_grant_model.by_token(parameters[:code]) end
def request
def request @request ||= OAuth::AuthorizationCodeRequest.new( Doorkeeper.config, grant, client, parameters, ) end