plain.oauth 0.14.0__tar.gz → 0.15.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/PKG-INFO +1 -1
- plain_oauth-0.15.0/plain/oauth/migrations/0007_alter_oauthconnection_provider_key_and_more.py +26 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/plain/oauth/models.py +2 -2
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/pyproject.toml +1 -1
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/.gitignore +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/LICENSE +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/README.md +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/plain/oauth/README.md +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/plain/oauth/__init__.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/plain/oauth/admin.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/plain/oauth/config.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/plain/oauth/default_settings.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/plain/oauth/exceptions.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/plain/oauth/migrations/0001_initial.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/plain/oauth/migrations/0002_alter_oauthconnection_options_and_more.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/plain/oauth/migrations/0003_alter_oauthconnection_access_token_and_more.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/plain/oauth/migrations/0004_alter_oauthconnection_access_token_and_more.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/plain/oauth/migrations/0005_alter_oauthconnection_unique_together_and_more.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/plain/oauth/migrations/0006_remove_oauthconnection_unique_oauth_provider_user_id_and_more.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/plain/oauth/migrations/__init__.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/plain/oauth/providers.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/plain/oauth/templates/oauth/error.html +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/plain/oauth/urls.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/plain/oauth/views.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/provider_examples/__init__.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/provider_examples/bitbucket.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/provider_examples/github.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/provider_examples/gitlab.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/tests/app/settings.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/tests/app/templates/base.html +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/tests/app/templates/index.html +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/tests/app/templates/login.html +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/tests/app/urls.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/tests/app/users/migrations/0001_initial.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/tests/app/users/migrations/__init__.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/tests/app/users/models.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/tests/provider_tests/__init__.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/tests/provider_tests/test_github.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/tests/providers/__init__.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/tests/providers/bitbucket.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/tests/providers/github.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/tests/providers/gitlab.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/tests/test_backends.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/tests/test_checks.py +0 -0
- {plain_oauth-0.14.0 → plain_oauth-0.15.0}/tests/test_providers.py +0 -0
@@ -0,0 +1,26 @@
|
|
1
|
+
# Generated by Plain 0.32.0 on 2025-03-10 15:37
|
2
|
+
|
3
|
+
from plain import models
|
4
|
+
from plain.models import migrations
|
5
|
+
|
6
|
+
|
7
|
+
class Migration(migrations.Migration):
|
8
|
+
dependencies = [
|
9
|
+
(
|
10
|
+
"plainoauth",
|
11
|
+
"0006_remove_oauthconnection_unique_oauth_provider_user_id_and_more",
|
12
|
+
),
|
13
|
+
]
|
14
|
+
|
15
|
+
operations = [
|
16
|
+
migrations.AlterField(
|
17
|
+
model_name="oauthconnection",
|
18
|
+
name="provider_key",
|
19
|
+
field=models.CharField(max_length=100),
|
20
|
+
),
|
21
|
+
migrations.AlterField(
|
22
|
+
model_name="oauthconnection",
|
23
|
+
name="provider_user_id",
|
24
|
+
field=models.CharField(max_length=100),
|
25
|
+
),
|
26
|
+
]
|
@@ -30,10 +30,10 @@ class OAuthConnection(models.Model):
|
|
30
30
|
)
|
31
31
|
|
32
32
|
# The key used to refer to this provider type (in settings)
|
33
|
-
provider_key = models.CharField(max_length=100
|
33
|
+
provider_key = models.CharField(max_length=100)
|
34
34
|
|
35
35
|
# The unique ID of the user on the provider's system
|
36
|
-
provider_user_id = models.CharField(max_length=100
|
36
|
+
provider_user_id = models.CharField(max_length=100)
|
37
37
|
|
38
38
|
# Token data
|
39
39
|
access_token = models.CharField(max_length=2000)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|