class Doorkeeper::OAuth::PreAuthorization

def pre_auth_hash

def pre_auth_hash
  {
    client_id: client.uid,
    redirect_uri: redirect_uri,
    state: state,
    response_type: response_type,
    scope: scope,
    client_name: client.name,
    status: I18n.t("doorkeeper.pre_authorization.status"),
  }
end