sanic-security 1.16.2__py3-none-any.whl → 1.16.4__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.
sanic_security/oauth.py CHANGED
@@ -58,7 +58,7 @@ async def oauth_callback(
58
58
  GetIdEmailError
59
59
 
60
60
  Returns:
61
- oauth_redirect
61
+ token_info, authentication_session
62
62
  """
63
63
  token_info = await client.get_access_token(
64
64
  request.args.get("code"),
@@ -24,7 +24,6 @@ from sanic_security.models import Account, CaptchaSession, AuthenticationSession
24
24
  from sanic_security.oauth import (
25
25
  oauth_encode,
26
26
  initialize_oauth,
27
- oauth_url,
28
27
  oauth_callback,
29
28
  oauth_decode,
30
29
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: sanic-security
3
- Version: 1.16.2
3
+ Version: 1.16.4
4
4
  Summary: An async security library for the Sanic framework.
5
5
  Author-email: Aidan Stewart <me@na-stewart.com>
6
6
  Project-URL: Documentation, https://security.na-stewart.com/
@@ -193,7 +193,7 @@ The tables in the below examples represent example [request form-data](https://s
193
193
 
194
194
  OAuth2 provides users with a familiar experience by having them register/login using their existing credentials from other trusted services (such as Google, Discord, etc.).
195
195
 
196
- This feature is designed to complement existing authentication protocols by linking a Sanic Security account with the user's OAuth credentials. As a result, developers can leverage all of Sanic Security's capabilities including robust session handling and account management.
196
+ This feature is designed to complement existing protocols by linking a Sanic Security account with the user's OAuth credentials. As a result, developers can leverage all of Sanic Security's capabilities including robust session handling and account management.
197
197
 
198
198
  * Define OAuth clients
199
199
 
@@ -4,14 +4,14 @@ sanic_security/authorization.py,sha256=ssq58w4vLv4YsNt40ufxHVyCeNzVDby3UcOYOEeTn
4
4
  sanic_security/configuration.py,sha256=2kWC4CZXvWR1wtBaqkMl58IA0VzxhI2ZbBTqd7LS_fE,6305
5
5
  sanic_security/exceptions.py,sha256=RCYrDUgczwH_Uz2A__z1zCc8iKKbt2YSBdNTQUaMykc,5381
6
6
  sanic_security/models.py,sha256=Ote83cdLUTpNWOMaY1uM04yDmst5_DamPEMFcSSmdks,22161
7
- sanic_security/oauth.py,sha256=T2IgjgHa_pA1eTuCieNwPZp0N7triqyI8nIvXuNmZVU,7083
7
+ sanic_security/oauth.py,sha256=rYLTdjJYbY5xMtlPBgQ9QEied4mliT9WjMSs3qy5HAU,7103
8
8
  sanic_security/utils.py,sha256=WlPOEEQGcfZk-GbPNu6OiysNXAo9mw80TitDV7XxWMc,3762
9
9
  sanic_security/verification.py,sha256=0pBoGBVGsyTFNLHI0lyz640Y1f8fnKjLjA8zHzXutqM,8660
10
10
  sanic_security/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
- sanic_security/test/server.py,sha256=pAXA-hWjHCobi_VxY9hLBIPrEy1sWTpcx9egtkBYQ5A,13356
11
+ sanic_security/test/server.py,sha256=Pi69hV2HtLvDE4wJ2ok9J6LNwTl6e_8Lm0WBnYX2mP8,13340
12
12
  sanic_security/test/tests.py,sha256=h6v3N1YhvENNA0eC-RqJK1sqGe2gFeKAMPJu7hjceqc,22570
13
- sanic_security-1.16.2.dist-info/LICENSE,sha256=sXlJs9_mG-dCkPfWsDnuzydJWagS82E2gYtkVH9enHA,1100
14
- sanic_security-1.16.2.dist-info/METADATA,sha256=1uHGMbxF6ZjF7bCePnDA5Q8nFRjV2JOQznZcBb4o15k,25742
15
- sanic_security-1.16.2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
16
- sanic_security-1.16.2.dist-info/top_level.txt,sha256=ZybkhHXSjfzhmv8XeqLvnNmLmv21Z0oPX6Ep4DJN8b0,15
17
- sanic_security-1.16.2.dist-info/RECORD,,
13
+ sanic_security-1.16.4.dist-info/LICENSE,sha256=sXlJs9_mG-dCkPfWsDnuzydJWagS82E2gYtkVH9enHA,1100
14
+ sanic_security-1.16.4.dist-info/METADATA,sha256=unhENNesRkIYwuSTDQfo5eyrd1nbrTExIp9CdYZMReg,25727
15
+ sanic_security-1.16.4.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
16
+ sanic_security-1.16.4.dist-info/top_level.txt,sha256=ZybkhHXSjfzhmv8XeqLvnNmLmv21Z0oPX6Ep4DJN8b0,15
17
+ sanic_security-1.16.4.dist-info/RECORD,,