aboutsummaryrefslogtreecommitdiff
path: root/src/modules/auth
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-03-23 00:09:30 +0100
committermetamuffin <metamuffin@disroot.org>2025-03-23 00:09:30 +0100
commit50fb488baa7e7a54a6e8aadc71a5314c25bf0355 (patch)
tree228a6b9fb767a4009e22cca6652edf9e0ea52df8 /src/modules/auth
parent1d5640c009dd993969c9aba749ecbbd2efe1b634 (diff)
downloadgnix-50fb488baa7e7a54a6e8aadc71a5314c25bf0355.tar
gnix-50fb488baa7e7a54a6e8aadc71a5314c25bf0355.tar.bz2
gnix-50fb488baa7e7a54a6e8aadc71a5314c25bf0355.tar.zst
license notices everywhere
Diffstat (limited to 'src/modules/auth')
-rw-r--r--src/modules/auth/basic.rs5
-rw-r--r--src/modules/auth/cookie.rs5
-rw-r--r--src/modules/auth/mod.rs5
-rw-r--r--src/modules/auth/openid.rs5
4 files changed, 20 insertions, 0 deletions
diff --git a/src/modules/auth/basic.rs b/src/modules/auth/basic.rs
index fb8301a..4b10a47 100644
--- a/src/modules/auth/basic.rs
+++ b/src/modules/auth/basic.rs
@@ -1,3 +1,8 @@
+/*
+ This file is part of gnix (https://codeberg.org/metamuffin/gnix)
+ which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
+ Copyright (C) 2025 metamuffin <metamuffin.org>
+*/
use crate::{
config::DynNode,
error::ServiceError,
diff --git a/src/modules/auth/cookie.rs b/src/modules/auth/cookie.rs
index 8e6d1d6..4c4d96d 100644
--- a/src/modules/auth/cookie.rs
+++ b/src/modules/auth/cookie.rs
@@ -1,3 +1,8 @@
+/*
+ This file is part of gnix (https://codeberg.org/metamuffin/gnix)
+ which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
+ Copyright (C) 2025 metamuffin <metamuffin.org>
+*/
use crate::{
config::{return_true, DynNode},
error::ServiceError,
diff --git a/src/modules/auth/mod.rs b/src/modules/auth/mod.rs
index 32dd0f2..ad9dd99 100644
--- a/src/modules/auth/mod.rs
+++ b/src/modules/auth/mod.rs
@@ -1,3 +1,8 @@
+/*
+ This file is part of gnix (https://codeberg.org/metamuffin/gnix)
+ which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
+ Copyright (C) 2025 metamuffin <metamuffin.org>
+*/
use argon2::PasswordVerifier;
use argon2::{
password_hash::{Encoding, PasswordHashString},
diff --git a/src/modules/auth/openid.rs b/src/modules/auth/openid.rs
index e22bc24..a6a6288 100644
--- a/src/modules/auth/openid.rs
+++ b/src/modules/auth/openid.rs
@@ -1,3 +1,8 @@
+/*
+ This file is part of gnix (https://codeberg.org/metamuffin/gnix)
+ which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
+ Copyright (C) 2025 metamuffin <metamuffin.org>
+*/
use crate::{
config::DynNode,
error::ServiceError,