maquinaweb-shared-auth 0.2.24__py3-none-any.whl → 0.2.25__py3-none-any.whl

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.

Potentially problematic release.


This version of maquinaweb-shared-auth might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maquinaweb-shared-auth
3
- Version: 0.2.24
3
+ Version: 0.2.25
4
4
  Summary: Models read-only para autenticação compartilhada entre projetos Django.
5
5
  Author-email: Seu Nome <seuemail@dominio.com>
6
6
  License: MIT
@@ -1,7 +1,7 @@
1
1
  shared_auth/__init__.py,sha256=Ta8lIbyn22J6wU-TgWeSvdDHS4NBRf4Sv1Ag8VtY-bE,152
2
2
  shared_auth/app.py,sha256=EHoLKlpW41o6ZxcH184aMhnWQxkVp9fH2_-89RjMz-4,215
3
3
  shared_auth/authentication.py,sha256=AidtDV4zBWkezN2H6iyOiRNrBoWGgcYiXQU1WkhfUIo,1409
4
- shared_auth/conf.py,sha256=SawlvPXmTz5qfFECa6lROa_kgT-aORHvTHXQ-4DGxUM,490
4
+ shared_auth/conf.py,sha256=WlSXQB7p3BfE3BL6WR6EDYpCHQEjDlxQlyf8dTfClsk,621
5
5
  shared_auth/decorators.py,sha256=RT-Qfi7oGBo6PvWJRR1dqJUQdU6ZOf9p-8mV3rZmqQ0,3237
6
6
  shared_auth/exceptions.py,sha256=VKamHjBl2yjXG2RsMrLrXru1_Q9IJXmy4xmDcXlpWsU,627
7
7
  shared_auth/fields.py,sha256=RAcmFh1D_nkbai_7t_OrPZhfhAipesy5kKnEj4LUvvM,1254
@@ -12,10 +12,10 @@ shared_auth/models.py,sha256=5AmjW-NJnqYn3MawGYY3VFo1Eow3BXgJbUCHQtdqslA,6562
12
12
  shared_auth/permissions.py,sha256=FNIp12ePOUlXVp26zNMAyEtzX9kwyP7RuNIgaaCXtPA,2671
13
13
  shared_auth/router.py,sha256=zYidJ7j40lQLrhkCtAQAp-rQLhua_UF0X7SDzYRcV5w,668
14
14
  shared_auth/serializers.py,sha256=zTsmx534Z4Ms1-ZRsFeu4QK0ksHZgpyOz9GMXAlaF34,4949
15
- shared_auth/storage_backend.py,sha256=-2UqRyXT2WaGXFviRgZRrq0iWRLwci5HmZkY6tAZZoY,132
15
+ shared_auth/storage_backend.py,sha256=Eqkjz8aF5UrOpRwYl-J0Td95IObfxnJ8eLQDJVFM3Io,184
16
16
  shared_auth/urls.py,sha256=591wWEWJPaHEGkcOZ8yvfgxddRyOcZLgOc0vNtF7XRI,289
17
17
  shared_auth/views.py,sha256=2hyLnYSWUscfq-jVcskt-ukzDt4vg6IXeKjRDRu9RXk,1519
18
- maquinaweb_shared_auth-0.2.24.dist-info/METADATA,sha256=BuMhI_eW59_M8llwLEK-_AMJfEUINtQ-NaXjqya7jiI,27190
19
- maquinaweb_shared_auth-0.2.24.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
20
- maquinaweb_shared_auth-0.2.24.dist-info/top_level.txt,sha256=msyYRy02ZV7zz7GR1raUI5LXGFIFn2TIkgkeKZqKufE,12
21
- maquinaweb_shared_auth-0.2.24.dist-info/RECORD,,
18
+ maquinaweb_shared_auth-0.2.25.dist-info/METADATA,sha256=qmccZn3g0nVSNxTQM_214989rHkfogY5Stwt95T5vt4,27190
19
+ maquinaweb_shared_auth-0.2.25.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
20
+ maquinaweb_shared_auth-0.2.25.dist-info/top_level.txt,sha256=msyYRy02ZV7zz7GR1raUI5LXGFIFn2TIkgkeKZqKufE,12
21
+ maquinaweb_shared_auth-0.2.25.dist-info/RECORD,,
shared_auth/conf.py CHANGED
@@ -8,4 +8,6 @@ def get_setting(name, default):
8
8
  ORGANIZATION_TABLE = get_setting("SHARED_AUTH_ORGANIZATION_TABLE", "organization_organization")
9
9
  USER_TABLE = get_setting("SHARED_AUTH_USER_TABLE", "auth_user")
10
10
  MEMBER_TABLE = get_setting("SHARED_AUTH_MEMBER_TABLE", "organization_member")
11
- TOKEN_TABLE = get_setting("SHARED_AUTH_TOKEN_TABLE", "organization_multitoken")
11
+ TOKEN_TABLE = get_setting("SHARED_AUTH_TOKEN_TABLE", "organization_multitoken")
12
+ CLOUDFRONT_DOMAIN = get_setting("CLOUDFRONT_DOMAIN", "")
13
+ CUSTOM_DOMAIN_AUTH = get_setting("CUSTOM_DOMAIN_AUTH", CLOUDFRONT_DOMAIN)
@@ -1,6 +1,6 @@
1
1
  from storages.backends.s3boto3 import S3Boto3Storage
2
-
2
+ from .conf import CUSTOM_DOMAIN_AUTH
3
3
 
4
4
  class Storage(S3Boto3Storage):
5
5
  location = "media"
6
- custom_domain = ""
6
+ custom_domain = CUSTOM_DOMAIN_AUTH