diff options
author | Vincent Ambo <mail@tazj.in> | 2018-09-04T10·45+0200 |
---|---|---|
committer | Vincent Ambo <mail@tazj.in> | 2018-09-04T10·48+0200 |
commit | 89af12444adaab43efb53143237ce5e9041b02ec (patch) | |
tree | 058696915b7fae1529471604a9142b439c9586d4 /src | |
parent | 29dfb6826f8c543f0a0050af8f00d2b316207607 (diff) |
chore: License under GPL-3.0-or-later
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 15 | ||||
-rw-r--r-- | src/tests.rs | 15 |
2 files changed, 30 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs index 108c60c677ee..c8769ccf9b09 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,18 @@ +// Copyright (C) 2018 Aprila Bank ASA +// +// alcoholic_jwt is free software: you can redistribute it and/or +// modify it under the terms of the GNU General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. + //! Implements a library for for **validation** of **RS256** JWTs //! using keys from a JWKS. Nothing more, nothing less. //! diff --git a/src/tests.rs b/src/tests.rs index ddccb764ad03..81890986f8a2 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -1,3 +1,18 @@ +// Copyright (C) 2018 Aprila Bank ASA +// +// alcoholic_jwt is free software: you can redistribute it and/or +// modify it under the terms of the GNU General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. + use super::*; #[test] |