mirror of
https://github.com/authelia/authelia.git
synced 2026-10-28 09:34:52 +08:00
ci: add reuse licensing compliance (#13065)
Adds REUSE.toml and the LICENSES directory, and runs reuse lint via lefthook and buildkite.
This commit is contained in:
1 parent
f6ebd1e06b
commit
ee430f477a
51 files changed
+556
-81
No files matched your search
@@ -1,5 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# SPDX-FileCopyrightText: 2026 Authelia
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Usage:
|
||||
# lint.sh Run every linter (CI linting step entrypoint).
|
||||
# lint.sh shellcheck ... Run shellcheck. With file args, those files are
|
||||
@@ -95,6 +99,8 @@ if [[ $# -eq 0 ]]; then
|
||||
pnpm -C web exec eslint '*/**/*.{js,ts,tsx}' || FAILED=1
|
||||
echo "--- :prettier::service_dog: Running prettier"
|
||||
pnpm -C docs exec eslint . || FAILED=1
|
||||
echo "--- :copyright::service_dog: Running reuse"
|
||||
reuse lint --lines || FAILED=1
|
||||
|
||||
echo "--- :go::service_dog: Lint Runners Completed"
|
||||
if [[ ${FAILED} -ne 0 ]]; then
|
||||
|
||||
@@ -33,3 +33,5 @@ indent_size = 2
|
||||
[web/**]
|
||||
indent_style = space
|
||||
|
||||
[internal/mocks/LICENSE.header]
|
||||
insert_final_newline = false
|
||||
+14
-1
@@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2026 Authelia
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
---
|
||||
pre-commit:
|
||||
piped: true
|
||||
@@ -7,7 +11,7 @@ pre-commit:
|
||||
run: |
|
||||
COUNT=0
|
||||
|
||||
for TOOL in golangci-lint pnpm shellcheck trufflehog typos yamllint zizmor; do
|
||||
for TOOL in golangci-lint pnpm reuse shellcheck trufflehog typos yamllint zizmor; do
|
||||
if ! command -v ${TOOL} >/dev/null 2>&1; then
|
||||
if [ ${COUNT} -eq 0 ]; then
|
||||
MISSING=${TOOL}
|
||||
@@ -46,6 +50,15 @@ pre-commit:
|
||||
glob: "*.go"
|
||||
stage_fixed: true
|
||||
|
||||
- name: reuse
|
||||
run: reuse lint-file {staged_files} && echo "0 issues."
|
||||
|
||||
- name: reuse-project
|
||||
# reuse lint-file only sees the staged files, so a REUSE.toml or LICENSES/
|
||||
# change that strips coverage from unstaged files needs a full project lint.
|
||||
run: reuse lint --lines && echo "0 issues."
|
||||
glob: "{REUSE.toml,LICENSES/*}"
|
||||
|
||||
- name: shellcheck
|
||||
run: shellcheck --format=gcc {staged_files} && echo "0 issues."
|
||||
file_types:
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2026 Authelia
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
---
|
||||
runner:
|
||||
docs:
|
||||
@@ -37,4 +41,11 @@ runner:
|
||||
errorformat:
|
||||
- '%f:%l:%c: %m'
|
||||
level: error
|
||||
|
||||
reuse:
|
||||
# reuse reports 'path: message' with no position, so a 1:1 position is added for reviewdog.
|
||||
cmd: reuse lint --lines | sed -e 's|^\([^:]*\):|\1:1:1:|'
|
||||
errorformat:
|
||||
- '%f:%l:%c: %m'
|
||||
level: error
|
||||
...
|
||||
@@ -186,7 +186,7 @@
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright 2026 Authelia Contributors
|
||||
Copyright 2026 Authelia
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
@@ -198,4 +198,4 @@
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
limitations under the License.
|
||||
@@ -0,0 +1,73 @@
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
@@ -0,0 +1,11 @@
|
||||
Copyright (c) <year> <owner>.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
|
||||
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
@@ -0,0 +1,20 @@
|
||||
Trademark Notice
|
||||
|
||||
The files covered by this notice are the trademarks, logos, service marks,
|
||||
brand assets, or certification marks of their respective owners. They are not
|
||||
works of Authelia and are not distributed under the Apache-2.0 license that
|
||||
covers the remainder of this repository.
|
||||
|
||||
They are reproduced here nominatively, that is, solely to identify and refer to
|
||||
the products, services, and organizations they represent, in accordance with
|
||||
the fair and descriptive use permitted by trademark law and by the brand
|
||||
guidelines of the respective owners.
|
||||
|
||||
No copyright license, trademark license, sponsorship, affiliation, or
|
||||
endorsement is claimed, granted, or implied by their inclusion. All rights in
|
||||
these marks remain with their respective owners. Use of these files outside the
|
||||
context of referring to the products, services, and organizations they
|
||||
represent may require permission from the owner of the mark.
|
||||
|
||||
Requests to remove or replace a mark should be directed to the Authelia team
|
||||
at <team@authelia.com>.
|
||||
@@ -0,0 +1,18 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) <year> <copyright holders>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
|
||||
associated documentation files (the "Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
|
||||
following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial
|
||||
portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
|
||||
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
|
||||
EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
||||
USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
@@ -0,0 +1,43 @@
|
||||
SIL OPEN FONT LICENSE
|
||||
|
||||
Version 1.1 - 26 February 2007
|
||||
|
||||
PREAMBLE
|
||||
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
|
||||
"Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting, or substituting — in part or in whole — any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
|
||||
This license becomes null and void if any of the above conditions are not met.
|
||||
|
||||
DISCLAIMER
|
||||
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
@@ -11,7 +11,7 @@ SPDX-License-Identifier: Apache-2.0
|
||||
<p align="center">
|
||||
<a href="https://buildkite.com/authelia/authelia"><picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/badge/dynamic/json.svg?url=https%3A%2F%2Fimg.shields.io%2Fbuildkite%2Fd6543d3ece3433f46dbe5fd9fcfaf1f68a6dbc48eb1048bc22%2Fmaster.json&query=%24.message&label=build&logo=buildkite&logoColor=%2314cc80&mode=dark&size=sm&variant=outline"><img alt="Build" src="https://shieldcn.dev/badge/dynamic/json.svg?url=https%3A%2F%2Fimg.shields.io%2Fbuildkite%2Fd6543d3ece3433f46dbe5fd9fcfaf1f68a6dbc48eb1048bc22%2Fmaster.json&query=%24.message&label=build&logo=buildkite&logoColor=%2314cc80&mode=light&size=sm&variant=outline"></picture></a>
|
||||
<a href="https://codecov.io/gh/authelia/authelia"><picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/badge/dynamic/json.svg?url=https%3A%2F%2Fimg.shields.io%2Fcodecov%2Fc%2Fgithub%2Fauthelia%2Fauthelia.json&query=%24.message&label=coverage&logo=codecov&logoColor=%23f01f7a&mode=dark&size=sm&variant=outline"><img alt="Codecov" src="https://shieldcn.dev/badge/dynamic/json.svg?url=https%3A%2F%2Fimg.shields.io%2Fcodecov%2Fc%2Fgithub%2Fauthelia%2Fauthelia.json&query=%24.message&label=coverage&logo=codecov&logoColor=%23f01f7a&mode=light&size=sm&variant=outline"></picture></a>
|
||||
<a href="https://bestpractices.coreinfrastructure.org/projects/7128"><picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/badge/openssf_best_practices-silver.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3MCA3MCI%2BPHBhdGggZD0iTTU2Ljk5IDYwLjE1QTMzLjMwIDMzLjMwIDAgMSAxIDU3Ljg0IDExLjQ1TDQ5LjcxIDE5Ljg2QTIxLjYwIDIxLjYwIDAgMSAwIDQ5LjE2IDUxLjQ1WiIgZmlsbD0iIzBmM2I2MyIvPjxwYXRoIGQ9Ik00Ny43NiA0OS44OUExOS41MCAxOS41MCAwIDEgMSA0OC4yNiAyMS4zN0w0MC4xMyAyOS43OUE3LjgwIDcuODAgMCAxIDAgMzkuOTMgNDEuMjBaIiBmaWxsPSIjMzk5NGQwIi8%2BPGNpcmNsZSBjeD0iMzQuNzEiIGN5PSIzNS40IiByPSI1LjciIGZpbGw9IiMwZjNiNjMiLz48L3N2Zz4%3D&logoColor=%233994d0&mode=dark&size=sm&variant=outline"><img alt="OpenSSF Best Practices" src="https://shieldcn.dev/badge/openssf_best_practices-silver.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3MCA3MCI%2BPHBhdGggZD0iTTU2Ljk5IDYwLjE1QTMzLjMwIDMzLjMwIDAgMSAxIDU3Ljg0IDExLjQ1TDQ5LjcxIDE5Ljg2QTIxLjYwIDIxLjYwIDAgMSAwIDQ5LjE2IDUxLjQ1WiIgZmlsbD0iIzBmM2I2MyIvPjxwYXRoIGQ9Ik00Ny43NiA0OS44OUExOS41MCAxOS41MCAwIDEgMSA0OC4yNiAyMS4zN0w0MC4xMyAyOS43OUE3LjgwIDcuODAgMCAxIDAgMzkuOTMgNDEuMjBaIiBmaWxsPSIjMzk5NGQwIi8%2BPGNpcmNsZSBjeD0iMzQuNzEiIGN5PSIzNS40IiByPSI1LjciIGZpbGw9IiMwZjNiNjMiLz48L3N2Zz4%3D&logoColor=%230f3b63&mode=light&size=sm&variant=outline"></picture></a>
|
||||
<a href="https://bestpractices.coreinfrastructure.org/projects/7128"><picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/badge/openssf_best_practices-gold.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3MCA3MCI%2BPHBhdGggZD0iTTU2Ljk5IDYwLjE1QTMzLjMwIDMzLjMwIDAgMSAxIDU3Ljg0IDExLjQ1TDQ5LjcxIDE5Ljg2QTIxLjYwIDIxLjYwIDAgMSAwIDQ5LjE2IDUxLjQ1WiIgZmlsbD0iIzBmM2I2MyIvPjxwYXRoIGQ9Ik00Ny43NiA0OS44OUExOS41MCAxOS41MCAwIDEgMSA0OC4yNiAyMS4zN0w0MC4xMyAyOS43OUE3LjgwIDcuODAgMCAxIDAgMzkuOTMgNDEuMjBaIiBmaWxsPSIjMzk5NGQwIi8%2BPGNpcmNsZSBjeD0iMzQuNzEiIGN5PSIzNS40IiByPSI1LjciIGZpbGw9IiMwZjNiNjMiLz48L3N2Zz4%3D&logoColor=%233994d0&mode=dark&size=sm&variant=outline"><img alt="OpenSSF Best Practices" src="https://shieldcn.dev/badge/openssf_best_practices-gold.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3MCA3MCI%2BPHBhdGggZD0iTTU2Ljk5IDYwLjE1QTMzLjMwIDMzLjMwIDAgMSAxIDU3Ljg0IDExLjQ1TDQ5LjcxIDE5Ljg2QTIxLjYwIDIxLjYwIDAgMSAwIDQ5LjE2IDUxLjQ1WiIgZmlsbD0iIzBmM2I2MyIvPjxwYXRoIGQ9Ik00Ny43NiA0OS44OUExOS41MCAxOS41MCAwIDEgMSA0OC4yNiAyMS4zN0w0MC4xMyAyOS43OUE3LjgwIDcuODAgMCAxIDAgMzkuOTMgNDEuMjBaIiBmaWxsPSIjMzk5NGQwIi8%2BPGNpcmNsZSBjeD0iMzQuNzEiIGN5PSIzNS40IiByPSI1LjciIGZpbGw9IiMwZjNiNjMiLz48L3N2Zz4%3D&logoColor=%230f3b63&mode=light&size=sm&variant=outline"></picture></a>
|
||||
<a href="https://scorecard.dev/viewer/?uri=github.com/authelia/authelia"><picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/badge/dynamic/json.svg?url=https%3A%2F%2Fimg.shields.io%2Fossf-scorecard%2Fgithub.com%2Fauthelia%2Fauthelia.json&query=%24.message&label=openssf%20scorecard&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMzAgMjMwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0xMTgsMiAxMzIsMiAxNDUsNyAxNTYsMTcgMTYzLDM0IDE2MSw1MiAxNDUsNzcgMTM0LDEwNCAxMjksMTIzIDEzNCwxMjUgMTQ2LDEzOSAxNTksMTQxIDE2MywxMzYgMTY2LDEzNiAxODEsMTQ4IDE5NCwxNTMgMjEyLDE1MyAyMTYsMTUxIDIyMSwxNTMgMjI3LDE4NyAyMjUsMjI5IDI3LDIyOSAyNywyMjQgMzUsMjE2IDI0LDE5NCAyNCwxODUgMjcsMTc5IDU0LDE1MCA3MCwxMzkgODMsMTM0IDg2LDEyNSA5OCwxMTggMTAyLDEwNyAxMjAsNzggMTEyLDc1IDg2LDgyIDYxLDgyIDU2LDc4IDU2LDc1IDYzLDY2IDg4LDQ0IDg4LDMxIDk1LDE2IDEwNSw3IDExOCwyWiIvPjwvc3ZnPg%3D%3D&logoColor=%233994d0&mode=dark&size=sm&variant=outline"><img alt="OpenSSF Scorecard" src="https://shieldcn.dev/badge/dynamic/json.svg?url=https%3A%2F%2Fimg.shields.io%2Fossf-scorecard%2Fgithub.com%2Fauthelia%2Fauthelia.json&query=%24.message&label=openssf%20scorecard&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMzAgMjMwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0xMTgsMiAxMzIsMiAxNDUsNyAxNTYsMTcgMTYzLDM0IDE2MSw1MiAxNDUsNzcgMTM0LDEwNCAxMjksMTIzIDEzNCwxMjUgMTQ2LDEzOSAxNTksMTQxIDE2MywxMzYgMTY2LDEzNiAxODEsMTQ4IDE5NCwxNTMgMjEyLDE1MyAyMTYsMTUxIDIyMSwxNTMgMjI3LDE4NyAyMjUsMjI5IDI3LDIyOSAyNywyMjQgMzUsMjE2IDI0LDE5NCAyNCwxODUgMjcsMTc5IDU0LDE1MCA3MCwxMzkgODMsMTM0IDg2LDEyNSA5OCwxMTggMTAyLDEwNyAxMjAsNzggMTEyLDc1IDg2LDgyIDYxLDgyIDU2LDc4IDU2LDc1IDYzLDY2IDg4LDQ0IDg4LDMxIDk1LDE2IDEwNSw3IDExOCwyWiIvPjwvc3ZnPg%3D%3D&logoColor=%230f3b63&mode=light&size=sm&variant=outline"></picture></a>
|
||||
<a href="https://slsa.dev"><picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/badge/slsa-level_3.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjMxIDAgMTQwIDE0MCIgZmlsbD0ibm9uZSI%2BPHBhdGggZD0ibTE2MS41MyAzLjA5OTRlLTUgMC4zODUtMC40MzU0My03LjQ5My02LjYyMjItMy4zMTEgMy43NDY1Yy0wLjk4OSAxLjExODQtMS45OTEgMi4yMjIyLTMuMDA4IDMuMzExMWgtMTE3LjF2Ny43OTE5bC02Ljg3OTkgNC4yNDAzIDIuNjIzNCA0LjI1NjVjMS4zNzM1IDIuMjI4NSAyLjc5MjkgNC40MTk2IDQuMjU2NSA2LjU3MjR2OTMuNDIxYy0wLjAzMzkgMWUtMyAtMC4wNjc4IDFlLTMgLTAuMTAxOCAyZS0zbC00Ljk5ODkgMC4xMDIgMC4yMDM1IDkuOTk4IDQuODk3Mi0wLjF2MTMuNzE2aDE0MHYtODguNjg0YzEuNDQtMi4wNzM0IDIuODQtNC4xODMgNC4xOTYtNi4zMjgyIDIuMjc5LTMuNDI5MiAzLjk3MS02LjM2MTMgNS4xMDMtOC40NTc5IDAuNTctMS4wNTQgMC45OTgtMS44OTg2IDEuMjktMi40OTEyIDAuMTQ2LTAuMjk2NCAwLjI1OC0wLjUyOTkgMC4zMzYtMC42OTUzIDAuMDM5LTAuMDgyNyAwLjA2OS0wLjE0ODQgMC4wOTEtMC4xOTY0bDAuMDI3LTAuMDU4NyA5ZS0zIC0wLjAxOTIgM2UtMyAtMC4wMDcxIDFlLTMgLTAuMDAyOSAxZS0zIC0wLjAwMTNjMC02ZS00IDAtMC4wMDExLTQuNTU3LTIuMDU3OGw0LjU1NyAyLjA1NjcgMi4wNTctNC41NTc1LTkuMTE1LTQuMTEzMi0yLjA1NCA0LjU1MTh2MWUtM2wtMWUtMyA5ZS00IC0xZS0zIDAuMDAxN3YyZS0zbC04ZS0zIDAuMDE3NGMtMC4wMTEgMC4wMjM0LTAuMDMgMC4wNjQyLTAuMDU3IDAuMTIxNi0wLjA1NCAwLjExNS0wLjE0MSAwLjI5NjctMC4yNjEgMC41Mzk5LTAuMjM5IDAuNDg2Ni0wLjYxMSAxLjIxODgtMS4xMTYgMi4xNTUtMC4xNTUgMC4yODU5LTAuMzIyIDAuNTkwNy0wLjUwMSAwLjkxMzF2LTMyLjY5em0wIDBoLTEzLjQyN2MtMjIuMDQ2IDIzLjYxOC01MC41OTEgNDAuMjQ2LTgxLjk5MSA0Ny43NzktMTEuODc1LTEwLjU0MS0yMi4zMDUtMjIuODcxLTMwLjg1MS0zNi43MzdsLTIuNjIzNC00LjI1NjUtMS42MzMxIDEuMDA2NXYxNS4wNjljOC43MDc2IDEyLjgwNyAxOC45ODIgMjQuMjU5IDMwLjQ4MiAzNC4xNTYgMTYuNTMgMTQuMjI2IDM1LjU5MSAyNS4yNDIgNTYuMTcgMzIuNDYxLTE3LjQyNCAxMS4zODctMzYuOTYyIDE5LjQ0OC01Ny42MTIgMjMuNjA1LTkuNDc3NCAxLjkwNy0xOS4xOSAyLjk5Mi0yOS4wNCAzLjE5OXYxMC4wMDJsMC4xMDE4LTJlLTNjMTAuNDg0LTAuMjEzIDIwLjgyMy0xLjM2NSAzMC45MTEtMy4zOTYgMjUuNDAzLTUuMTEzIDQ5LjIxNy0xNS43OTYgNjkuNzg2LTMxLjA5IDE1LjAxLTExLjE2MSAyOC4yOTItMjQuNzc5IDM5LjIwMS00MC40OHYtMTguNjI2Yy0wLjk5NiAxLjc5MDgtMi4zOCA0LjEyNy00LjE2MyA2LjgwOGwtMC4wMzMgMC4wNDkxLTAuMDMxIDAuMDQ5OGMtMTAuNTEyIDE2LjYzOS0yMy43NTkgMzEuMDE1LTM4Ljk2MiA0Mi42OC0xOC44ODEtNS43MDktMzYuNTU1LTE0Ljc1OC01Mi4xOC0yNi42NjIgMzEuOTgyLTkuMTI5MiA2MC44MjctMjcuMjUgODIuOTY5LTUyLjMwNHoiIGZpbGw9IiNmMDMxMDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIi8%2BPC9zdmc%2B&logoColor=%23f03100&mode=dark&size=sm&variant=outline"><img alt="SLSA 3" src="https://shieldcn.dev/badge/slsa-level_3.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjMxIDAgMTQwIDE0MCIgZmlsbD0ibm9uZSI%2BPHBhdGggZD0ibTE2MS41MyAzLjA5OTRlLTUgMC4zODUtMC40MzU0My03LjQ5My02LjYyMjItMy4zMTEgMy43NDY1Yy0wLjk4OSAxLjExODQtMS45OTEgMi4yMjIyLTMuMDA4IDMuMzExMWgtMTE3LjF2Ny43OTE5bC02Ljg3OTkgNC4yNDAzIDIuNjIzNCA0LjI1NjVjMS4zNzM1IDIuMjI4NSAyLjc5MjkgNC40MTk2IDQuMjU2NSA2LjU3MjR2OTMuNDIxYy0wLjAzMzkgMWUtMyAtMC4wNjc4IDFlLTMgLTAuMTAxOCAyZS0zbC00Ljk5ODkgMC4xMDIgMC4yMDM1IDkuOTk4IDQuODk3Mi0wLjF2MTMuNzE2aDE0MHYtODguNjg0YzEuNDQtMi4wNzM0IDIuODQtNC4xODMgNC4xOTYtNi4zMjgyIDIuMjc5LTMuNDI5MiAzLjk3MS02LjM2MTMgNS4xMDMtOC40NTc5IDAuNTctMS4wNTQgMC45OTgtMS44OTg2IDEuMjktMi40OTEyIDAuMTQ2LTAuMjk2NCAwLjI1OC0wLjUyOTkgMC4zMzYtMC42OTUzIDAuMDM5LTAuMDgyNyAwLjA2OS0wLjE0ODQgMC4wOTEtMC4xOTY0bDAuMDI3LTAuMDU4NyA5ZS0zIC0wLjAxOTIgM2UtMyAtMC4wMDcxIDFlLTMgLTAuMDAyOSAxZS0zIC0wLjAwMTNjMC02ZS00IDAtMC4wMDExLTQuNTU3LTIuMDU3OGw0LjU1NyAyLjA1NjcgMi4wNTctNC41NTc1LTkuMTE1LTQuMTEzMi0yLjA1NCA0LjU1MTh2MWUtM2wtMWUtMyA5ZS00IC0xZS0zIDAuMDAxN3YyZS0zbC04ZS0zIDAuMDE3NGMtMC4wMTEgMC4wMjM0LTAuMDMgMC4wNjQyLTAuMDU3IDAuMTIxNi0wLjA1NCAwLjExNS0wLjE0MSAwLjI5NjctMC4yNjEgMC41Mzk5LTAuMjM5IDAuNDg2Ni0wLjYxMSAxLjIxODgtMS4xMTYgMi4xNTUtMC4xNTUgMC4yODU5LTAuMzIyIDAuNTkwNy0wLjUwMSAwLjkxMzF2LTMyLjY5em0wIDBoLTEzLjQyN2MtMjIuMDQ2IDIzLjYxOC01MC41OTEgNDAuMjQ2LTgxLjk5MSA0Ny43NzktMTEuODc1LTEwLjU0MS0yMi4zMDUtMjIuODcxLTMwLjg1MS0zNi43MzdsLTIuNjIzNC00LjI1NjUtMS42MzMxIDEuMDA2NXYxNS4wNjljOC43MDc2IDEyLjgwNyAxOC45ODIgMjQuMjU5IDMwLjQ4MiAzNC4xNTYgMTYuNTMgMTQuMjI2IDM1LjU5MSAyNS4yNDIgNTYuMTcgMzIuNDYxLTE3LjQyNCAxMS4zODctMzYuOTYyIDE5LjQ0OC01Ny42MTIgMjMuNjA1LTkuNDc3NCAxLjkwNy0xOS4xOSAyLjk5Mi0yOS4wNCAzLjE5OXYxMC4wMDJsMC4xMDE4LTJlLTNjMTAuNDg0LTAuMjEzIDIwLjgyMy0xLjM2NSAzMC45MTEtMy4zOTYgMjUuNDAzLTUuMTEzIDQ5LjIxNy0xNS43OTYgNjkuNzg2LTMxLjA5IDE1LjAxLTExLjE2MSAyOC4yOTItMjQuNzc5IDM5LjIwMS00MC40OHYtMTguNjI2Yy0wLjk5NiAxLjc5MDgtMi4zOCA0LjEyNy00LjE2MyA2LjgwOGwtMC4wMzMgMC4wNDkxLTAuMDMxIDAuMDQ5OGMtMTAuNTEyIDE2LjYzOS0yMy43NTkgMzEuMDE1LTM4Ljk2MiA0Mi42OC0xOC44ODEtNS43MDktMzYuNTU1LTE0Ljc1OC01Mi4xOC0yNi42NjIgMzEuOTgyLTkuMTI5MiA2MC44MjctMjcuMjUgODIuOTY5LTUyLjMwNHoiIGZpbGw9IiNmMDMxMDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIi8%2BPC9zdmc%2B&logoColor=%23f03100&mode=light&size=sm&variant=outline"></picture></a>
|
||||
<a href="https://www.apache.org/licenses/LICENSE-2.0"><picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/github/authelia/authelia/license.svg?logo=apache&logoColor=%23d22128&mode=dark&size=sm&variant=outline"><img alt="License" src="https://shieldcn.dev/github/authelia/authelia/license.svg?logo=apache&logoColor=%23d22128&mode=light&size=sm&variant=outline"></picture></a>
|
||||
|
||||
+132
@@ -0,0 +1,132 @@
|
||||
version = 1
|
||||
|
||||
SPDX-PackageName = "Authelia"
|
||||
SPDX-PackageSupplier = "Authelia <team@authelia.com>"
|
||||
SPDX-PackageDownloadLocation = "https://github.com/authelia/authelia"
|
||||
|
||||
[[annotations]]
|
||||
path = "**"
|
||||
precedence = "closest"
|
||||
|
||||
[[annotations]]
|
||||
path = [
|
||||
".all-contributorsrc",
|
||||
".buildkite/annotations/bypass",
|
||||
".buildkite/annotations/draft",
|
||||
".buildkite/annotations/merge-queue",
|
||||
".renovaterc",
|
||||
"CITATION.cff",
|
||||
"cmd/authelia-gen/templates/dot_commitlintrc.cjs.tmpl",
|
||||
"cmd/dev/**",
|
||||
"docs/content/reference/architecture-decision-log/.adr.config.json",
|
||||
"docs/content/reference/cli/**",
|
||||
"docs/data/**",
|
||||
"docs/layouts/**",
|
||||
"docs/static/.well-known/matrix/server",
|
||||
"docs/static/keys/**",
|
||||
"internal/configuration/test_resources/**",
|
||||
"internal/storage/migrations/**",
|
||||
"internal/suites/common/pki/**",
|
||||
"internal/suites/example/compose/authelia/resources/reflex.conf",
|
||||
]
|
||||
precedence = "aggregate"
|
||||
SPDX-FileCopyrightText = "2026 Authelia"
|
||||
SPDX-License-Identifier = "Apache-2.0"
|
||||
|
||||
[[annotations]]
|
||||
path = "web/src/components/UI/**"
|
||||
precedence = "aggregate"
|
||||
SPDX-FileCopyrightText = "2016 shadcn"
|
||||
SPDX-License-Identifier = "MIT"
|
||||
|
||||
[[annotations]]
|
||||
path = "internal/session/memory/stdlib.go"
|
||||
precedence = "override"
|
||||
SPDX-FileCopyrightText = "2016 The Go Authors"
|
||||
SPDX-License-Identifier = "BSD-3-Clause"
|
||||
|
||||
[[annotations]]
|
||||
path = [
|
||||
"internal/suites/testdata/fonts/LICENSE",
|
||||
"internal/suites/testdata/fonts/LiberationSans-Regular.ttf",
|
||||
]
|
||||
precedence = "override"
|
||||
SPDX-FileCopyrightText = [
|
||||
"2010 Google Corporation",
|
||||
"2012 Red Hat, Inc.",
|
||||
]
|
||||
SPDX-License-Identifier = "OFL-1.1"
|
||||
|
||||
[[annotations]]
|
||||
path = "docs/static/images/logos/caddy.png"
|
||||
precedence = "override"
|
||||
SPDX-FileCopyrightText = "Stack Holdings GmbH"
|
||||
SPDX-License-Identifier = "LicenseRef-Trademark"
|
||||
|
||||
[[annotations]]
|
||||
path = "docs/static/images/logos/docker.logo.png"
|
||||
precedence = "override"
|
||||
SPDX-FileCopyrightText = "Docker, Inc."
|
||||
SPDX-License-Identifier = "LicenseRef-Trademark"
|
||||
|
||||
[[annotations]]
|
||||
path = "web/src/assets/images/applestore-badge.svg"
|
||||
precedence = "override"
|
||||
SPDX-FileCopyrightText = "Apple, Inc."
|
||||
SPDX-License-Identifier = "LicenseRef-Trademark"
|
||||
|
||||
[[annotations]]
|
||||
path = [
|
||||
"docs/static/images/logos/envoy.png",
|
||||
"docs/static/images/logos/kubernetes.png",
|
||||
]
|
||||
precedence = "override"
|
||||
SPDX-FileCopyrightText = "The Linux Foundation"
|
||||
SPDX-License-Identifier = "LicenseRef-Trademark"
|
||||
|
||||
[[annotations]]
|
||||
path = "docs/static/images/logos/haproxy.png"
|
||||
precedence = "override"
|
||||
SPDX-FileCopyrightText = "HAProxy Technologies, LLC."
|
||||
SPDX-License-Identifier = "LicenseRef-Trademark"
|
||||
|
||||
[[annotations]]
|
||||
path = "docs/static/images/logos/nginx.png"
|
||||
precedence = "override"
|
||||
SPDX-FileCopyrightText = "F5, Inc."
|
||||
SPDX-License-Identifier = "LicenseRef-Trademark"
|
||||
|
||||
[[annotations]]
|
||||
path = "docs/static/images/logos/traefik.png"
|
||||
precedence = "override"
|
||||
SPDX-FileCopyrightText = "Traefik Labs"
|
||||
SPDX-License-Identifier = "LicenseRef-Trademark"
|
||||
|
||||
[[annotations]]
|
||||
path = [
|
||||
"docs/static/svgs/logos/azure.svg",
|
||||
"docs/static/svgs/logos/microsoft.svg",
|
||||
]
|
||||
precedence = "override"
|
||||
SPDX-FileCopyrightText = "Microsoft Corporation"
|
||||
SPDX-License-Identifier = "LicenseRef-Trademark"
|
||||
|
||||
[[annotations]]
|
||||
path = [
|
||||
"docs/static/svgs/logos/goland.svg",
|
||||
"docs/static/svgs/logos/intellij-idea.svg",
|
||||
"docs/static/svgs/logos/jetbrains.svg",
|
||||
"docs/static/svgs/logos/webstorm.svg",
|
||||
]
|
||||
precedence = "override"
|
||||
SPDX-FileCopyrightText = "JetBrains s.r.o."
|
||||
SPDX-License-Identifier = "LicenseRef-Trademark"
|
||||
|
||||
[[annotations]]
|
||||
path = [
|
||||
"docs/static/images/oid-certification.jpg",
|
||||
"docs/static/images/oid-map.png",
|
||||
]
|
||||
precedence = "override"
|
||||
SPDX-FileCopyrightText = "OpenID Foundation"
|
||||
SPDX-License-Identifier = "LicenseRef-Trademark"
|
||||
@@ -1,3 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by go generate. DO NOT EDIT.
|
||||
//
|
||||
// Run the following command to generate this file:
|
||||
// go run ./cmd/authelia-gen code keys
|
||||
//
|
||||
|
||||
export default {
|
||||
defaultIgnores: true,
|
||||
extends: ["@commitlint/config-conventional"],
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
---
|
||||
# SPDX-FileCopyrightText: 2026 Authelia
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
title: "Testing"
|
||||
description: "Authelia Development Testing Guidelines"
|
||||
summary: "This section covers the testing guidelines."
|
||||
@@ -65,3 +69,4 @@ consistency. These linters generally run via [lefthook](https://lefthook.dev/) w
|
||||
| [commitlint](https://commitlint.js.org/) | Git | Ensure Conformant Commit Messages |
|
||||
| [TruffleHog](https://github.com/trufflesecurity/trufflehog) | All | Preventing Secret Commit Accidents |
|
||||
| [typos](https://github.com/crate-ci/typos) | All | Preventing Spelling and General Typos |
|
||||
| [REUSE](https://reuse.software/) | All | Licensing and Copyright Compliance |
|
||||
@@ -1,9 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: github.com/authelia/authelia/v4/internal/authentication (interfaces: FileUserProviderDatabase)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -write_package_comment=false -package authentication -destination file_user_provider_database_mock_test.go -mock_names FileUserProviderDatabase=MockFileUserDatabase github.com/authelia/authelia/v4/internal/authentication FileUserProviderDatabase
|
||||
// mockgen -copyright_file ../mocks/LICENSE.header -write_package_comment=false -package authentication -destination file_user_provider_database_mock_test.go -mock_names FileUserProviderDatabase=MockFileUserDatabase github.com/authelia/authelia/v4/internal/authentication FileUserProviderDatabase
|
||||
//
|
||||
|
||||
package authentication
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: github.com/go-crypt/crypt/algorithm (interfaces: Hash)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -write_package_comment=false -package authentication -destination file_user_provider_hash_mock_test.go -mock_names Hash=MockHash github.com/go-crypt/crypt/algorithm Hash
|
||||
// mockgen -copyright_file ../mocks/LICENSE.header -write_package_comment=false -package authentication -destination file_user_provider_hash_mock_test.go -mock_names Hash=MockHash github.com/go-crypt/crypt/algorithm Hash
|
||||
//
|
||||
|
||||
package authentication
|
||||
|
||||
@@ -7,8 +7,8 @@ package authentication
|
||||
// This file is used to generate mocks. You can generate all mocks using the
|
||||
// command `go generate github.com/authelia/authelia/v4/internal/authentication`.
|
||||
|
||||
//go:generate mockgen -write_package_comment=false -package authentication -destination ldap_client_mock_test.go -mock_names LDAPExtendedClient=MockLDAPClient github.com/authelia/authelia/v4/internal/authentication LDAPExtendedClient
|
||||
//go:generate mockgen -write_package_comment=false -package authentication -destination ldap_client_dialer_mock_test.go -mock_names LDAPClientDialer=MockLDAPClientDialer github.com/authelia/authelia/v4/internal/authentication LDAPClientDialer
|
||||
//go:generate mockgen -write_package_comment=false -package authentication -destination ldap_client_factory_mock_test.go -mock_names LDAPClientFactory=MockLDAPClientFactory github.com/authelia/authelia/v4/internal/authentication LDAPClientFactory
|
||||
//go:generate mockgen -write_package_comment=false -package authentication -destination file_user_provider_database_mock_test.go -mock_names FileUserProviderDatabase=MockFileUserDatabase github.com/authelia/authelia/v4/internal/authentication FileUserProviderDatabase
|
||||
//go:generate mockgen -write_package_comment=false -package authentication -destination file_user_provider_hash_mock_test.go -mock_names Hash=MockHash github.com/go-crypt/crypt/algorithm Hash
|
||||
//go:generate mockgen -copyright_file ../mocks/LICENSE.header -write_package_comment=false -package authentication -destination ldap_client_mock_test.go -mock_names LDAPExtendedClient=MockLDAPClient github.com/authelia/authelia/v4/internal/authentication LDAPExtendedClient
|
||||
//go:generate mockgen -copyright_file ../mocks/LICENSE.header -write_package_comment=false -package authentication -destination ldap_client_dialer_mock_test.go -mock_names LDAPClientDialer=MockLDAPClientDialer github.com/authelia/authelia/v4/internal/authentication LDAPClientDialer
|
||||
//go:generate mockgen -copyright_file ../mocks/LICENSE.header -write_package_comment=false -package authentication -destination ldap_client_factory_mock_test.go -mock_names LDAPClientFactory=MockLDAPClientFactory github.com/authelia/authelia/v4/internal/authentication LDAPClientFactory
|
||||
//go:generate mockgen -copyright_file ../mocks/LICENSE.header -write_package_comment=false -package authentication -destination file_user_provider_database_mock_test.go -mock_names FileUserProviderDatabase=MockFileUserDatabase github.com/authelia/authelia/v4/internal/authentication FileUserProviderDatabase
|
||||
//go:generate mockgen -copyright_file ../mocks/LICENSE.header -write_package_comment=false -package authentication -destination file_user_provider_hash_mock_test.go -mock_names Hash=MockHash github.com/go-crypt/crypt/algorithm Hash
|
||||
@@ -1,9 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: github.com/authelia/authelia/v4/internal/authentication (interfaces: LDAPClientDialer)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -write_package_comment=false -package authentication -destination ldap_client_dialer_mock_test.go -mock_names LDAPClientDialer=MockLDAPClientDialer github.com/authelia/authelia/v4/internal/authentication LDAPClientDialer
|
||||
// mockgen -copyright_file ../mocks/LICENSE.header -write_package_comment=false -package authentication -destination ldap_client_dialer_mock_test.go -mock_names LDAPClientDialer=MockLDAPClientDialer github.com/authelia/authelia/v4/internal/authentication LDAPClientDialer
|
||||
//
|
||||
|
||||
package authentication
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: github.com/authelia/authelia/v4/internal/authentication (interfaces: LDAPClientFactory)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -write_package_comment=false -package authentication -destination ldap_client_factory_mock_test.go -mock_names LDAPClientFactory=MockLDAPClientFactory github.com/authelia/authelia/v4/internal/authentication LDAPClientFactory
|
||||
// mockgen -copyright_file ../mocks/LICENSE.header -write_package_comment=false -package authentication -destination ldap_client_factory_mock_test.go -mock_names LDAPClientFactory=MockLDAPClientFactory github.com/authelia/authelia/v4/internal/authentication LDAPClientFactory
|
||||
//
|
||||
|
||||
package authentication
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: github.com/authelia/authelia/v4/internal/authentication (interfaces: LDAPExtendedClient)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -write_package_comment=false -package authentication -destination ldap_client_mock_test.go -mock_names LDAPExtendedClient=MockLDAPClient github.com/authelia/authelia/v4/internal/authentication LDAPExtendedClient
|
||||
// mockgen -copyright_file ../mocks/LICENSE.header -write_package_comment=false -package authentication -destination ldap_client_mock_test.go -mock_names LDAPExtendedClient=MockLDAPClient github.com/authelia/authelia/v4/internal/authentication LDAPExtendedClient
|
||||
//
|
||||
|
||||
package authentication
|
||||
@@ -157,6 +161,20 @@ func (mr *MockLDAPClientMockRecorder) DirSyncAsync(ctx, searchRequest, bufferSiz
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DirSyncAsync", reflect.TypeOf((*MockLDAPClient)(nil).DirSyncAsync), ctx, searchRequest, bufferSize, flags, maxAttrCount, cookie)
|
||||
}
|
||||
|
||||
// Discovery mocks base method.
|
||||
func (m *MockLDAPClient) Discovery() LDAPDiscovery {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "Discovery")
|
||||
ret0, _ := ret[0].(LDAPDiscovery)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// Discovery indicates an expected call of Discovery.
|
||||
func (mr *MockLDAPClientMockRecorder) Discovery() *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Discovery", reflect.TypeOf((*MockLDAPClient)(nil).Discovery))
|
||||
}
|
||||
|
||||
// Extended mocks base method.
|
||||
func (m *MockLDAPClient) Extended(arg0 *ldap.ExtendedRequest) (*ldap.ExtendedResponse, error) {
|
||||
m.ctrl.T.Helper()
|
||||
@@ -186,20 +204,6 @@ func (mr *MockLDAPClientMockRecorder) ExternalBind() *gomock.Call {
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExternalBind", reflect.TypeOf((*MockLDAPClient)(nil).ExternalBind))
|
||||
}
|
||||
|
||||
// Features mocks base method.
|
||||
func (m *MockLDAPClient) Discovery() LDAPDiscovery {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "Discovery")
|
||||
ret0, _ := ret[0].(LDAPDiscovery)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// Features indicates an expected call of Features.
|
||||
func (mr *MockLDAPClientMockRecorder) Features() *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Discovery", reflect.TypeOf((*MockLDAPClient)(nil).Discovery))
|
||||
}
|
||||
|
||||
// GSSAPIBind mocks base method.
|
||||
func (m *MockLDAPClient) GSSAPIBind(client ldap.GSSAPIClient, servicePrincipal, authzid string) error {
|
||||
m.ctrl.T.Helper()
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package configuration
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
SPDX-FileCopyrightText: 2026 Authelia
|
||||
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
@@ -1,3 +1,7 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package mocks
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: github.com/authelia/authelia/v4/internal/duo (interfaces: Provider)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package mocks -destination duo_api.go -mock_names Provider=MockDuoProvider github.com/authelia/authelia/v4/internal/duo Provider
|
||||
// mockgen -copyright_file LICENSE.header -package mocks -destination duo_api.go -mock_names Provider=MockDuoProvider github.com/authelia/authelia/v4/internal/duo Provider
|
||||
//
|
||||
|
||||
// Package mocks is a generated GoMock package.
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: github.com/authelia/authelia/v4/internal/duo (interfaces: BaseProvider)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package mocks -destination duo_base_api.go -mock_names BaseProvider=MockDuoBaseProvider github.com/authelia/authelia/v4/internal/duo BaseProvider
|
||||
// mockgen -copyright_file LICENSE.header -package mocks -destination duo_base_api.go -mock_names BaseProvider=MockDuoBaseProvider github.com/authelia/authelia/v4/internal/duo BaseProvider
|
||||
//
|
||||
|
||||
// Package mocks is a generated GoMock package.
|
||||
|
||||
+25
-21
@@ -1,37 +1,41 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package mocks
|
||||
|
||||
// This file is used to generate mocks. You can generate all mocks using the
|
||||
// command `go generate github.com/authelia/authelia/v4/internal/mocks`.
|
||||
|
||||
//go:generate mockgen -package mocks -destination user_provider.go -mock_names UserProvider=MockUserProvider github.com/authelia/authelia/v4/internal/authentication UserProvider
|
||||
//go:generate mockgen -package mocks -destination notifier.go -mock_names Notifier=MockNotifier github.com/authelia/authelia/v4/internal/notification Notifier
|
||||
//go:generate mockgen -package mocks -destination totp.go -mock_names Provider=MockTOTP github.com/authelia/authelia/v4/internal/totp Provider
|
||||
//go:generate mockgen -package mocks -destination storage.go -mock_names Provider=MockStorage github.com/authelia/authelia/v4/internal/storage Provider
|
||||
//go:generate mockgen -package mocks -destination storage_sqlxdb.go -mock_names SQLXDB=MockSQLXDB github.com/authelia/authelia/v4/internal/storage SQLXDB
|
||||
//go:generate mockgen -package mocks -destination storage_sqlxtx.go -mock_names SQLXTx=MockSQLXTx github.com/authelia/authelia/v4/internal/storage SQLXTx
|
||||
//go:generate mockgen -package mocks -destination storage_sqlxconnection.go -mock_names SQLXConnection=MockSQLXConnection github.com/authelia/authelia/v4/internal/storage SQLXConnection
|
||||
//go:generate mockgen -package mocks -destination duo_api.go -mock_names Provider=MockDuoProvider github.com/authelia/authelia/v4/internal/duo Provider
|
||||
//go:generate mockgen -package mocks -destination duo_base_api.go -mock_names BaseProvider=MockDuoBaseProvider github.com/authelia/authelia/v4/internal/duo BaseProvider
|
||||
//go:generate mockgen -package mocks -destination random.go -mock_names Provider=MockRandom github.com/authelia/authelia/v4/internal/random Provider
|
||||
//go:generate mockgen -package mocks -destination oidc_client.go -mock_names Client=MockOIDCClient github.com/authelia/authelia/v4/internal/oidc Client
|
||||
//go:generate mockgen -package mocks -destination oidc_claims_strategy.go -mock_names ClaimsStrategy=MockClaimsStrategy github.com/authelia/authelia/v4/internal/oidc ClaimsStrategy
|
||||
//go:generate mockgen -copyright_file LICENSE.header -package mocks -destination user_provider.go -mock_names UserProvider=MockUserProvider github.com/authelia/authelia/v4/internal/authentication UserProvider
|
||||
//go:generate mockgen -copyright_file LICENSE.header -package mocks -destination notifier.go -mock_names Notifier=MockNotifier github.com/authelia/authelia/v4/internal/notification Notifier
|
||||
//go:generate mockgen -copyright_file LICENSE.header -package mocks -destination totp.go -mock_names Provider=MockTOTP github.com/authelia/authelia/v4/internal/totp Provider
|
||||
//go:generate mockgen -copyright_file LICENSE.header -package mocks -destination storage.go -mock_names Provider=MockStorage github.com/authelia/authelia/v4/internal/storage Provider
|
||||
//go:generate mockgen -copyright_file LICENSE.header -package mocks -destination storage_sqlxdb.go -mock_names SQLXDB=MockSQLXDB github.com/authelia/authelia/v4/internal/storage SQLXDB
|
||||
//go:generate mockgen -copyright_file LICENSE.header -package mocks -destination storage_sqlxtx.go -mock_names SQLXTx=MockSQLXTx github.com/authelia/authelia/v4/internal/storage SQLXTx
|
||||
//go:generate mockgen -copyright_file LICENSE.header -package mocks -destination storage_sqlxconnection.go -mock_names SQLXConnection=MockSQLXConnection github.com/authelia/authelia/v4/internal/storage SQLXConnection
|
||||
//go:generate mockgen -copyright_file LICENSE.header -package mocks -destination duo_api.go -mock_names Provider=MockDuoProvider github.com/authelia/authelia/v4/internal/duo Provider
|
||||
//go:generate mockgen -copyright_file LICENSE.header -package mocks -destination duo_base_api.go -mock_names BaseProvider=MockDuoBaseProvider github.com/authelia/authelia/v4/internal/duo BaseProvider
|
||||
//go:generate mockgen -copyright_file LICENSE.header -package mocks -destination random.go -mock_names Provider=MockRandom github.com/authelia/authelia/v4/internal/random Provider
|
||||
//go:generate mockgen -copyright_file LICENSE.header -package mocks -destination oidc_client.go -mock_names Client=MockOIDCClient github.com/authelia/authelia/v4/internal/oidc Client
|
||||
//go:generate mockgen -copyright_file LICENSE.header -package mocks -destination oidc_claims_strategy.go -mock_names ClaimsStrategy=MockClaimsStrategy github.com/authelia/authelia/v4/internal/oidc ClaimsStrategy
|
||||
|
||||
// External Mocks.
|
||||
|
||||
// Mocks for database/sql.
|
||||
|
||||
//go:generate mockgen -package mocks -destination sql_result.go -mock_names Result=MockSQLResult database/sql Result
|
||||
//go:generate mockgen -copyright_file LICENSE.header -package mocks -destination sql_result.go -mock_names Result=MockSQLResult database/sql Result
|
||||
|
||||
// Mocks for authelia.com/provider/oauth2.
|
||||
//go:generate mockgen -package mocks -destination oauth2_client_credentials_grant_storage.go -mock_names Provider=MockClientCredentialsGrantStorage authelia.com/provider/oauth2/handler/oauth2 ClientCredentialsGrantStorage
|
||||
//go:generate mockgen -package mocks -destination oauth2_token_revocation_storage.go -mock_names Provider=MockTokenRevocationStorage authelia.com/provider/oauth2/handler/oauth2 TokenRevocationStorage
|
||||
//go:generate mockgen -package mocks -destination oauth2_access_token_strategy.go -mock_names Provider=MockAccessTokenStrategy authelia.com/provider/oauth2/handler/oauth2 AccessTokenStrategy
|
||||
//go:generate mockgen -copyright_file LICENSE.header -package mocks -destination oauth2_client_credentials_grant_storage.go -mock_names Provider=MockClientCredentialsGrantStorage authelia.com/provider/oauth2/handler/oauth2 ClientCredentialsGrantStorage
|
||||
//go:generate mockgen -copyright_file LICENSE.header -package mocks -destination oauth2_token_revocation_storage.go -mock_names Provider=MockTokenRevocationStorage authelia.com/provider/oauth2/handler/oauth2 TokenRevocationStorage
|
||||
//go:generate mockgen -copyright_file LICENSE.header -package mocks -destination oauth2_access_token_strategy.go -mock_names Provider=MockAccessTokenStrategy authelia.com/provider/oauth2/handler/oauth2 AccessTokenStrategy
|
||||
|
||||
//go:generate mockgen -package mocks -destination oauth2_pkce_request_storage.go -mock_names Storage=MockPKCERequestStorage authelia.com/provider/oauth2/handler/pkce Storage
|
||||
//go:generate mockgen -copyright_file LICENSE.header -package mocks -destination oauth2_pkce_request_storage.go -mock_names Storage=MockPKCERequestStorage authelia.com/provider/oauth2/handler/pkce Storage
|
||||
|
||||
//go:generate mockgen -package mocks -destination oauth2_access_requester.go -mock_names Provider=MockAccessRequester authelia.com/provider/oauth2 AccessRequester
|
||||
//go:generate mockgen -copyright_file LICENSE.header -package mocks -destination oauth2_access_requester.go -mock_names Provider=MockAccessRequester authelia.com/provider/oauth2 AccessRequester
|
||||
|
||||
//go:generate mockgen -package mocks -destination oauth2_transactional.go -mock_names Provider=MockTransactional authelia.com/provider/oauth2/storage Transactional
|
||||
//go:generate mockgen -copyright_file LICENSE.header -package mocks -destination oauth2_transactional.go -mock_names Provider=MockTransactional authelia.com/provider/oauth2/storage Transactional
|
||||
|
||||
//go:generate mockgen -package mocks -destination oauth2_token_introspector.go -mock_names TokenIntrospector=MockTokenIntrospector authelia.com/provider/oauth2 TokenIntrospector
|
||||
//go:generate mockgen -package mocks -destination oauth2_storage.go -mock_names Storage=MockOAuth2Storage authelia.com/provider/oauth2 Storage
|
||||
//go:generate mockgen -copyright_file LICENSE.header -package mocks -destination oauth2_token_introspector.go -mock_names TokenIntrospector=MockTokenIntrospector authelia.com/provider/oauth2 TokenIntrospector
|
||||
//go:generate mockgen -copyright_file LICENSE.header -package mocks -destination oauth2_storage.go -mock_names Storage=MockOAuth2Storage authelia.com/provider/oauth2 Storage
|
||||
@@ -1,9 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: github.com/authelia/authelia/v4/internal/notification (interfaces: Notifier)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package mocks -destination notifier.go -mock_names Notifier=MockNotifier github.com/authelia/authelia/v4/internal/notification Notifier
|
||||
// mockgen -copyright_file LICENSE.header -package mocks -destination notifier.go -mock_names Notifier=MockNotifier github.com/authelia/authelia/v4/internal/notification Notifier
|
||||
//
|
||||
|
||||
// Package mocks is a generated GoMock package.
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: authelia.com/provider/oauth2 (interfaces: AccessRequester)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package mocks -destination oauth2_access_requester.go -mock_names Provider=MockAccessRequester authelia.com/provider/oauth2 AccessRequester
|
||||
// mockgen -copyright_file LICENSE.header -package mocks -destination oauth2_access_requester.go -mock_names Provider=MockAccessRequester authelia.com/provider/oauth2 AccessRequester
|
||||
//
|
||||
|
||||
// Package mocks is a generated GoMock package.
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: authelia.com/provider/oauth2/handler/oauth2 (interfaces: AccessTokenStrategy)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package mocks -destination oauth2_access_token_strategy.go -mock_names Provider=MockAccessTokenStrategy authelia.com/provider/oauth2/handler/oauth2 AccessTokenStrategy
|
||||
// mockgen -copyright_file LICENSE.header -package mocks -destination oauth2_access_token_strategy.go -mock_names Provider=MockAccessTokenStrategy authelia.com/provider/oauth2/handler/oauth2 AccessTokenStrategy
|
||||
//
|
||||
|
||||
// Package mocks is a generated GoMock package.
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: authelia.com/provider/oauth2/handler/oauth2 (interfaces: ClientCredentialsGrantStorage)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package mocks -destination oauth2_client_credentials_grant_storage.go -mock_names Provider=MockClientCredentialsGrantStorage authelia.com/provider/oauth2/handler/oauth2 ClientCredentialsGrantStorage
|
||||
// mockgen -copyright_file LICENSE.header -package mocks -destination oauth2_client_credentials_grant_storage.go -mock_names Provider=MockClientCredentialsGrantStorage authelia.com/provider/oauth2/handler/oauth2 ClientCredentialsGrantStorage
|
||||
//
|
||||
|
||||
// Package mocks is a generated GoMock package.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package mocks
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: authelia.com/provider/oauth2/handler/pkce (interfaces: Storage)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package mocks -destination oauth2_pkce_request_storage.go -mock_names Storage=MockPKCERequestStorage authelia.com/provider/oauth2/handler/pkce Storage
|
||||
// mockgen -copyright_file LICENSE.header -package mocks -destination oauth2_pkce_request_storage.go -mock_names Storage=MockPKCERequestStorage authelia.com/provider/oauth2/handler/pkce Storage
|
||||
//
|
||||
|
||||
// Package mocks is a generated GoMock package.
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: authelia.com/provider/oauth2 (interfaces: Storage)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package mocks -destination oauth2_storage.go -mock_names Storage=MockOAuth2Storage authelia.com/provider/oauth2 Storage
|
||||
// mockgen -copyright_file LICENSE.header -package mocks -destination oauth2_storage.go -mock_names Storage=MockOAuth2Storage authelia.com/provider/oauth2 Storage
|
||||
//
|
||||
|
||||
// Package mocks is a generated GoMock package.
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: authelia.com/provider/oauth2 (interfaces: TokenIntrospector)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package mocks -destination oauth2_token_introspector.go -mock_names TokenIntrospector=MockTokenIntrospector authelia.com/provider/oauth2 TokenIntrospector
|
||||
// mockgen -copyright_file LICENSE.header -package mocks -destination oauth2_token_introspector.go -mock_names TokenIntrospector=MockTokenIntrospector authelia.com/provider/oauth2 TokenIntrospector
|
||||
//
|
||||
|
||||
// Package mocks is a generated GoMock package.
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: authelia.com/provider/oauth2/handler/oauth2 (interfaces: TokenRevocationStorage)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package mocks -destination oauth2_token_revocation_storage.go -mock_names Provider=MockTokenRevocationStorage authelia.com/provider/oauth2/handler/oauth2 TokenRevocationStorage
|
||||
// mockgen -copyright_file LICENSE.header -package mocks -destination oauth2_token_revocation_storage.go -mock_names Provider=MockTokenRevocationStorage authelia.com/provider/oauth2/handler/oauth2 TokenRevocationStorage
|
||||
//
|
||||
|
||||
// Package mocks is a generated GoMock package.
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: authelia.com/provider/oauth2/storage (interfaces: Transactional)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package mocks -destination oauth2_transactional.go -mock_names Provider=MockTransactional authelia.com/provider/oauth2/storage Transactional
|
||||
// mockgen -copyright_file LICENSE.header -package mocks -destination oauth2_transactional.go -mock_names Provider=MockTransactional authelia.com/provider/oauth2/storage Transactional
|
||||
//
|
||||
|
||||
// Package mocks is a generated GoMock package.
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: github.com/authelia/authelia/v4/internal/oidc (interfaces: ClaimsStrategy)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package mocks -destination oidc_claims_strategy.go -mock_names ClaimsStrategy=MockClaimsStrategy github.com/authelia/authelia/v4/internal/oidc ClaimsStrategy
|
||||
// mockgen -copyright_file LICENSE.header -package mocks -destination oidc_claims_strategy.go -mock_names ClaimsStrategy=MockClaimsStrategy github.com/authelia/authelia/v4/internal/oidc ClaimsStrategy
|
||||
//
|
||||
|
||||
// Package mocks is a generated GoMock package.
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: github.com/authelia/authelia/v4/internal/oidc (interfaces: Client)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package mocks -destination oidc_client.go -mock_names Client=MockOIDCClient github.com/authelia/authelia/v4/internal/oidc Client
|
||||
// mockgen -copyright_file LICENSE.header -package mocks -destination oidc_client.go -mock_names Client=MockOIDCClient github.com/authelia/authelia/v4/internal/oidc Client
|
||||
//
|
||||
|
||||
// Package mocks is a generated GoMock package.
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: github.com/authelia/authelia/v4/internal/random (interfaces: Provider)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package mocks -destination random.go -mock_names Provider=MockRandom github.com/authelia/authelia/v4/internal/random Provider
|
||||
// mockgen -copyright_file LICENSE.header -package mocks -destination random.go -mock_names Provider=MockRandom github.com/authelia/authelia/v4/internal/random Provider
|
||||
//
|
||||
|
||||
// Package mocks is a generated GoMock package.
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: database/sql (interfaces: Result)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package mocks -destination sql_result.go -mock_names Result=MockSQLResult database/sql Result
|
||||
// mockgen -copyright_file LICENSE.header -package mocks -destination sql_result.go -mock_names Result=MockSQLResult database/sql Result
|
||||
//
|
||||
|
||||
// Package mocks is a generated GoMock package.
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: github.com/authelia/authelia/v4/internal/storage (interfaces: Provider)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package mocks -destination storage.go -mock_names Provider=MockStorage github.com/authelia/authelia/v4/internal/storage Provider
|
||||
// mockgen -copyright_file LICENSE.header -package mocks -destination storage.go -mock_names Provider=MockStorage github.com/authelia/authelia/v4/internal/storage Provider
|
||||
//
|
||||
|
||||
// Package mocks is a generated GoMock package.
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: github.com/authelia/authelia/v4/internal/storage (interfaces: SQLXConnection)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package mocks -destination storage_sqlxconnection.go -mock_names SQLXConnection=MockSQLXConnection github.com/authelia/authelia/v4/internal/storage SQLXConnection
|
||||
// mockgen -copyright_file LICENSE.header -package mocks -destination storage_sqlxconnection.go -mock_names SQLXConnection=MockSQLXConnection github.com/authelia/authelia/v4/internal/storage SQLXConnection
|
||||
//
|
||||
|
||||
// Package mocks is a generated GoMock package.
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: github.com/authelia/authelia/v4/internal/storage (interfaces: SQLXDB)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package mocks -destination storage_sqlxdb.go -mock_names SQLXDB=MockSQLXDB github.com/authelia/authelia/v4/internal/storage SQLXDB
|
||||
// mockgen -copyright_file LICENSE.header -package mocks -destination storage_sqlxdb.go -mock_names SQLXDB=MockSQLXDB github.com/authelia/authelia/v4/internal/storage SQLXDB
|
||||
//
|
||||
|
||||
// Package mocks is a generated GoMock package.
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: github.com/authelia/authelia/v4/internal/storage (interfaces: SQLXTx)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package mocks -destination storage_sqlxtx.go -mock_names SQLXTx=MockSQLXTx github.com/authelia/authelia/v4/internal/storage SQLXTx
|
||||
// mockgen -copyright_file LICENSE.header -package mocks -destination storage_sqlxtx.go -mock_names SQLXTx=MockSQLXTx github.com/authelia/authelia/v4/internal/storage SQLXTx
|
||||
//
|
||||
|
||||
// Package mocks is a generated GoMock package.
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: github.com/authelia/authelia/v4/internal/totp (interfaces: Provider)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package mocks -destination totp.go -mock_names Provider=MockTOTP github.com/authelia/authelia/v4/internal/totp Provider
|
||||
// mockgen -copyright_file LICENSE.header -package mocks -destination totp.go -mock_names Provider=MockTOTP github.com/authelia/authelia/v4/internal/totp Provider
|
||||
//
|
||||
|
||||
// Package mocks is a generated GoMock package.
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: github.com/authelia/authelia/v4/internal/authentication (interfaces: UserProvider)
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package mocks -destination user_provider.go -mock_names UserProvider=MockUserProvider github.com/authelia/authelia/v4/internal/authentication UserProvider
|
||||
// mockgen -copyright_file LICENSE.header -package mocks -destination user_provider.go -mock_names UserProvider=MockUserProvider github.com/authelia/authelia/v4/internal/authentication UserProvider
|
||||
//
|
||||
|
||||
// Package mocks is a generated GoMock package.
|
||||
|
||||
@@ -1,9 +1,3 @@
|
||||
<!--
|
||||
SPDX-FileCopyrightText: 2026 Authelia
|
||||
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
{
|
||||
"Base":"{{ .Base }}",
|
||||
"DuoSelfEnrollment":"{{ .DuoSelfEnrollment }}",
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
SPDX-FileCopyrightText: 2026 Authelia
|
||||
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
@@ -1,3 +1,7 @@
|
||||
-- SPDX-FileCopyrightText: 2018 Tim Düsterhus
|
||||
--
|
||||
-- SPDX-License-Identifier: MIT
|
||||
|
||||
-- The MIT License (MIT)
|
||||
--
|
||||
-- Copyright (c) 2018 Tim Düsterhus
|
||||
@@ -19,8 +23,6 @@
|
||||
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
-- SOFTWARE.
|
||||
--
|
||||
-- SPDX-License-Identifier: MIT
|
||||
|
||||
local http = require("haproxy-lua-http")
|
||||
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
-- SPDX-FileCopyrightText: 2017-2020 Adis Nezirović <anezirovic@haproxy.com>
|
||||
-- SPDX-FileCopyrightText: 2017-2020 HAProxy Technologies, LLC.
|
||||
--
|
||||
-- SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
--
|
||||
-- HTTP 1.1 library for HAProxy Lua modules
|
||||
--
|
||||
@@ -23,8 +28,6 @@
|
||||
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
-- See the License for the specific language governing permissions and
|
||||
-- limitations under the License.
|
||||
--
|
||||
-- SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
local _author = "Adis Nezirovic <anezirovic@haproxy.com>"
|
||||
local _copyright = "Copyright 2017-2020. HAProxy Technologies, LLC."
|
||||
|
||||
@@ -1,3 +1,13 @@
|
||||
// SPDX-FileCopyrightText: 2026 Authelia
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Code generated by go generate. DO NOT EDIT.
|
||||
//
|
||||
// Run the following command to generate this file:
|
||||
// go run ./cmd/authelia-gen code keys
|
||||
//
|
||||
|
||||
export default {
|
||||
defaultIgnores: true,
|
||||
extends: ["@commitlint/config-conventional"],
|
||||
|
||||
Reference in new issue
Block a user