plain.oauth 0.16.0__py3-none-any.whl → 0.17.0__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.
plain/oauth/README.md CHANGED
@@ -15,7 +15,6 @@ There are three OAuth flows that it makes possible:
15
15
  2. Login via OAuth (existing user, existing OAuth connection)
16
16
  3. Connect/disconnect OAuth accounts to a user (existing user, new OAuth connection)
17
17
 
18
-
19
18
  ## Usage
20
19
 
21
20
  Install the package from PyPi:
@@ -142,7 +141,7 @@ That's pretty much it!
142
141
  The most common error you'll run into is if an existing user clicks a login button,
143
142
  but they haven't yet connected that provider to their account.
144
143
  For security reasons,
145
- the required flow here is that the user actually logs in with another method (however they signed up) and then *connects* the OAuth provider from a settings page.
144
+ the required flow here is that the user actually logs in with another method (however they signed up) and then _connects_ the OAuth provider from a settings page.
146
145
 
147
146
  For this error (and a couple others),
148
147
  there is an error template that is rendered.
@@ -236,7 +235,7 @@ response = requests.get(...)
236
235
 
237
236
  ### Using the Django system check
238
237
 
239
- This library comes with a Django system check to ensure you don't *remove* a provider from `settings.py` that is still in use in your database.
238
+ This library comes with a Django system check to ensure you don't _remove_ a provider from `settings.py` that is still in use in your database.
240
239
  You do need to specify the `--database` for this to run when using the check command by itself:
241
240
 
242
241
  ```sh
@@ -247,7 +246,7 @@ python manage.py check --database default
247
246
 
248
247
  ### How is this different from [Django OAuth libraries](https://djangopackages.org/grids/g/oauth/)?
249
248
 
250
- The short answer is that *it does less*.
249
+ The short answer is that _it does less_.
251
250
 
252
251
  In [django-allauth](https://github.com/pennersr/django-allauth)
253
252
  (maybe the most popular alternative)
@@ -262,7 +261,7 @@ Personally, I don't like the way that your OAuth settings are stored in the data
262
261
  and the implications for doing it one way or another.
263
262
 
264
263
  The other popular OAuth libraries have similar issues,
265
- and I think their *weight* outweighs their usefulness for 80% of the use cases.
264
+ and I think their _weight_ outweighs their usefulness for 80% of the use cases.
266
265
 
267
266
  ### Why aren't providers included in the library itself?
268
267
 
@@ -281,7 +280,7 @@ Just copy that code and paste it in your project.
281
280
  Tweak as necessary!
282
281
 
283
282
  This might sound strange at first.
284
- But in the long run we think it's actually *much* more maintainable for both us (as library authors) and you (as app author).
283
+ But in the long run we think it's actually _much_ more maintainable for both us (as library authors) and you (as app author).
285
284
  If something breaks with a provider, you can fix it immediately!
286
285
  You don't need to try to run changes through us or wait for an upstream update.
287
286
  You're welcome to contribute an example to this repo,
plain/oauth/config.py CHANGED
@@ -3,4 +3,4 @@ from plain.packages import PackageConfig, register_config
3
3
 
4
4
  @register_config
5
5
  class Config(PackageConfig):
6
- label = "plainoauth" # Primarily for migrations
6
+ package_label = "plainoauth" # Primarily for migrations
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plain.oauth
3
- Version: 0.16.0
3
+ Version: 0.17.0
4
4
  Summary: OAuth login and API access for Plain.
5
5
  Author-email: Dave Gaeddert <dave.gaeddert@dropseed.dev>
6
6
  License-Expression: BSD-3-Clause
@@ -29,7 +29,6 @@ There are three OAuth flows that it makes possible:
29
29
  2. Login via OAuth (existing user, existing OAuth connection)
30
30
  3. Connect/disconnect OAuth accounts to a user (existing user, new OAuth connection)
31
31
 
32
-
33
32
  ## Usage
34
33
 
35
34
  Install the package from PyPi:
@@ -156,7 +155,7 @@ That's pretty much it!
156
155
  The most common error you'll run into is if an existing user clicks a login button,
157
156
  but they haven't yet connected that provider to their account.
158
157
  For security reasons,
159
- the required flow here is that the user actually logs in with another method (however they signed up) and then *connects* the OAuth provider from a settings page.
158
+ the required flow here is that the user actually logs in with another method (however they signed up) and then _connects_ the OAuth provider from a settings page.
160
159
 
161
160
  For this error (and a couple others),
162
161
  there is an error template that is rendered.
@@ -250,7 +249,7 @@ response = requests.get(...)
250
249
 
251
250
  ### Using the Django system check
252
251
 
253
- This library comes with a Django system check to ensure you don't *remove* a provider from `settings.py` that is still in use in your database.
252
+ This library comes with a Django system check to ensure you don't _remove_ a provider from `settings.py` that is still in use in your database.
254
253
  You do need to specify the `--database` for this to run when using the check command by itself:
255
254
 
256
255
  ```sh
@@ -261,7 +260,7 @@ python manage.py check --database default
261
260
 
262
261
  ### How is this different from [Django OAuth libraries](https://djangopackages.org/grids/g/oauth/)?
263
262
 
264
- The short answer is that *it does less*.
263
+ The short answer is that _it does less_.
265
264
 
266
265
  In [django-allauth](https://github.com/pennersr/django-allauth)
267
266
  (maybe the most popular alternative)
@@ -276,7 +275,7 @@ Personally, I don't like the way that your OAuth settings are stored in the data
276
275
  and the implications for doing it one way or another.
277
276
 
278
277
  The other popular OAuth libraries have similar issues,
279
- and I think their *weight* outweighs their usefulness for 80% of the use cases.
278
+ and I think their _weight_ outweighs their usefulness for 80% of the use cases.
280
279
 
281
280
  ### Why aren't providers included in the library itself?
282
281
 
@@ -295,7 +294,7 @@ Just copy that code and paste it in your project.
295
294
  Tweak as necessary!
296
295
 
297
296
  This might sound strange at first.
298
- But in the long run we think it's actually *much* more maintainable for both us (as library authors) and you (as app author).
297
+ But in the long run we think it's actually _much_ more maintainable for both us (as library authors) and you (as app author).
299
298
  If something breaks with a provider, you can fix it immediately!
300
299
  You don't need to try to run changes through us or wait for an upstream update.
301
300
  You're welcome to contribute an example to this repo,
@@ -1,7 +1,7 @@
1
- plain/oauth/README.md,sha256=RWGb-KlcYm6etIKAgypE7qqzmgRWskAaVdKxfrXybV8,9901
1
+ plain/oauth/README.md,sha256=9_l9lOSndGBG31mD3oteT8UJMeonuCKdBreLQhUO70E,9900
2
2
  plain/oauth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  plain/oauth/admin.py,sha256=rqrGRRUVxOlG9wiuXtndIyQxd1VT67cvFy6qWo7LF-Q,1278
4
- plain/oauth/config.py,sha256=5Zc9mdpRgN3R1c9YspFrspWteqB2NAWna2p_-tgoPCc,159
4
+ plain/oauth/config.py,sha256=0Q4IILBKQbIaxqeL9WRTH5Cka-BO3c3SOj1AdQIAJgc,167
5
5
  plain/oauth/default_settings.py,sha256=dlN1J9vSOjjxPNLp-0qe-cLTqwM4E69ZAx_8lpxMhaM,28
6
6
  plain/oauth/exceptions.py,sha256=TMGtIGkK3_J4rsEy1oPCmia7BnRSK8N8RMZm4_pNelA,189
7
7
  plain/oauth/models.py,sha256=ceSw9AKZMXffE4ZKZLxIbOlSyndTCHL22GCuSF3Hpmk,6880
@@ -17,7 +17,7 @@ plain/oauth/migrations/0006_remove_oauthconnection_unique_oauth_provider_user_id
17
17
  plain/oauth/migrations/0007_alter_oauthconnection_provider_key_and_more.py,sha256=B_LW6xG1o_uA13tqUs0KniXl1JBNbQu4wMh2pW8rq5I,675
18
18
  plain/oauth/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
19
  plain/oauth/templates/oauth/error.html,sha256=xkkWw57sZ3fz4dDfH30SVtq3okJNnJmrSRPfGxrxjh8,108
20
- plain_oauth-0.16.0.dist-info/METADATA,sha256=Aezs8S0fDrIgNHJ0T9grRxq5ZF0j59a_yN9VpvMnWg0,10305
21
- plain_oauth-0.16.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
22
- plain_oauth-0.16.0.dist-info/licenses/LICENSE,sha256=cvKM3OlqHx3ijD6e34zsSUkPvzl-ya3Dd63A6EHL94U,1500
23
- plain_oauth-0.16.0.dist-info/RECORD,,
20
+ plain_oauth-0.17.0.dist-info/METADATA,sha256=8Vti0F7xXIyJ2yp8wkG1Ouf_ZhqtqxpujdxBqahdW14,10304
21
+ plain_oauth-0.17.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
22
+ plain_oauth-0.17.0.dist-info/licenses/LICENSE,sha256=cvKM3OlqHx3ijD6e34zsSUkPvzl-ya3Dd63A6EHL94U,1500
23
+ plain_oauth-0.17.0.dist-info/RECORD,,