class Doorkeeper::OAuth::Authorization::Code

def callback

def callback
  uri_with_query(authorization.redirect_uri, {
    :code  => grant.token,
    :state => authorization.state
  })
end