|
1 | 1 | Authlib Licenses |
2 | 2 | ================ |
3 | 3 |
|
4 | | -Authlib offers two licenses, one is APGLv3+ for open source projects, one is |
| 4 | +Authlib offers two licenses, one is BSD for open source projects, one is |
5 | 5 | a commercial license for closed source projects. |
6 | 6 |
|
7 | 7 | Open Source License |
8 | 8 | ------------------- |
9 | 9 |
|
10 | | -Copyright (C) 2017 Hsiaoming Yang |
| 10 | +Copyright (c) 2019, Hsiaoming Yang |
11 | 11 |
|
12 | | -This program is free software: you can redistribute it and/or modify |
13 | | -it under the terms of the GNU Affero General Public License as published by |
14 | | -the Free Software Foundation, either version 3 of the License, or |
15 | | -(at your option) any later version. |
| 12 | +All rights reserved. |
16 | 13 |
|
17 | | -This program is distributed in the hope that it will be useful, |
18 | | -but WITHOUT ANY WARRANTY; without even the implied warranty of |
19 | | -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
20 | | -GNU Affero General Public License for more details. |
| 14 | +Redistribution and use in source and binary forms, with or without |
| 15 | +modification, are permitted provided that the following conditions are met: |
21 | 16 |
|
22 | | -You should have received a copy of the GNU Affero General Public License |
23 | | -along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 17 | +* Redistributions of source code must retain the above copyright notice, this |
| 18 | + list of conditions and the following disclaimer. |
24 | 19 |
|
25 | | -Commercial License |
26 | | ------------------- |
| 20 | +* Redistributions in binary form must reproduce the above copyright notice, |
| 21 | + this list of conditions and the following disclaimer in the documentation |
| 22 | + and/or other materials provided with the distribution. |
27 | 23 |
|
28 | | -The content of the commercial license can be found in the repository in a file |
29 | | -named **COMMERCIAL-LICENSE**. You can buy a license at: |
| 24 | +* Neither the name of the creator nor the names of its contributors may be |
| 25 | + used to endorse or promote products derived from this software without |
| 26 | + specific prior written permission. |
30 | 27 |
|
31 | | -https://authlib.org/plans |
| 28 | +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| 29 | +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 30 | +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 31 | +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
| 32 | +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 33 | +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
| 34 | +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
| 35 | +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
| 36 | +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 37 | +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
32 | 38 |
|
33 | | -Discuss on License |
| 39 | +Commercial License |
34 | 40 | ------------------ |
35 | 41 |
|
36 | | -There is a discuss on the license issue. I personally don't think AGPL is a |
37 | | -good license for Authlib either. If you have a better understanding of licenses |
38 | | -issues, you can offer your suggestions at: |
39 | | - |
40 | | -https://github.com/lepture/authlib/issues/59 |
| 42 | +The content of the commercial license can be found in the repository in a file |
| 43 | +named **COMMERCIAL-LICENSE**. You can get a commercial license at: |
41 | 44 |
|
42 | | -.. note:: |
43 | | - Authlib will be separated into 3 modules in the future. The client part |
44 | | - will be licensed under BSD, the server part will remain AGPL (or BSD with |
45 | | - Common Clause). |
| 45 | +https://authlib.org/plans |
0 commit comments