Skip to content

Commit

Permalink
adding dev-v0.15.2 tag to this commit to ensure building
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Aug 23, 2023
1 parent ac9ce7e commit a3f023b
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion html/supertokens_python/constants.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h1 class="title">Module <code>supertokens_python.constants</code></h1>
from __future__ import annotations

SUPPORTED_CDI_VERSIONS = [&#34;3.0&#34;]
VERSION = &#34;0.15.1&#34;
VERSION = &#34;0.15.2&#34;
TELEMETRY = &#34;/telemetry&#34;
USER_COUNT = &#34;/users/count&#34;
USER_DELETE = &#34;/user/remove&#34;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ <h1 class="title">Module <code>supertokens_python.recipe.thirdparty.providers.bi

email = None
is_verified = False
for email_info in user_info_from_email.values():
for email_info in user_info_from_email[&#34;values&#34;]:
if email_info[&#34;is_primary&#34;]:
email = email_info[&#34;email&#34;]
is_verified = email_info[&#34;is_confirmed&#34;]
Expand Down Expand Up @@ -238,7 +238,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>

email = None
is_verified = False
for email_info in user_info_from_email.values():
for email_info in user_info_from_email[&#34;values&#34;]:
if email_info[&#34;is_primary&#34;]:
email = email_info[&#34;email&#34;]
is_verified = email_info[&#34;is_confirmed&#34;]
Expand Down Expand Up @@ -324,7 +324,7 @@ <h3>Methods</h3>

email = None
is_verified = False
for email_info in user_info_from_email.values():
for email_info in user_info_from_email[&#34;values&#34;]:
if email_info[&#34;is_primary&#34;]:
email = email_info[&#34;email&#34;]
is_verified = email_info[&#34;is_confirmed&#34;]
Expand Down
24 changes: 12 additions & 12 deletions html/supertokens_python/recipe/thirdparty/providers/boxy_saml.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,14 @@ <h1 class="title">Module <code>supertokens_python.recipe.thirdparty.providers.bo
if input.config.user_info_map is None:
input.config.user_info_map = UserInfoMap(UserFields(), UserFields())

if input.config.user_info_map.from_id_token_payload is None:
input.config.user_info_map.from_id_token_payload = UserFields()
if input.config.user_info_map.from_user_info_api is None:
input.config.user_info_map.from_user_info_api = UserFields()

if input.config.user_info_map.from_id_token_payload.user_id is None:
input.config.user_info_map.from_id_token_payload.user_id = &#34;id&#34;
if input.config.user_info_map.from_user_info_api.user_id is None:
input.config.user_info_map.from_user_info_api.user_id = &#34;id&#34;

if input.config.user_info_map.from_id_token_payload.email is None:
input.config.user_info_map.from_id_token_payload.email = &#34;email&#34;
if input.config.user_info_map.from_user_info_api.email is None:
input.config.user_info_map.from_user_info_api.email = &#34;email&#34;

return NewProvider(input, BoxySAMLImpl)</code></pre>
</details>
Expand Down Expand Up @@ -119,14 +119,14 @@ <h2 class="section-title" id="header-functions">Functions</h2>
if input.config.user_info_map is None:
input.config.user_info_map = UserInfoMap(UserFields(), UserFields())

if input.config.user_info_map.from_id_token_payload is None:
input.config.user_info_map.from_id_token_payload = UserFields()
if input.config.user_info_map.from_user_info_api is None:
input.config.user_info_map.from_user_info_api = UserFields()

if input.config.user_info_map.from_id_token_payload.user_id is None:
input.config.user_info_map.from_id_token_payload.user_id = &#34;id&#34;
if input.config.user_info_map.from_user_info_api.user_id is None:
input.config.user_info_map.from_user_info_api.user_id = &#34;id&#34;

if input.config.user_info_map.from_id_token_payload.email is None:
input.config.user_info_map.from_id_token_payload.email = &#34;email&#34;
if input.config.user_info_map.from_user_info_api.email is None:
input.config.user_info_map.from_user_info_api.email = &#34;email&#34;

return NewProvider(input, BoxySAMLImpl)</code></pre>
</details>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ <h1 class="title">Module <code>supertokens_python.recipe.thirdparty.providers.fa
config = await super().get_config_for_client_type(client_type, user_context)

if config.scope is None:
config.scope = [&#34;identify&#34;, &#34;email&#34;]
config.scope = [&#34;email&#34;]

return config

Expand Down Expand Up @@ -177,7 +177,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
config = await super().get_config_for_client_type(client_type, user_context)

if config.scope is None:
config.scope = [&#34;identify&#34;, &#34;email&#34;]
config.scope = [&#34;email&#34;]

return config

Expand Down Expand Up @@ -214,7 +214,7 @@ <h3>Methods</h3>
config = await super().get_config_for_client_type(client_type, user_context)

if config.scope is None:
config.scope = [&#34;identify&#34;, &#34;email&#34;]
config.scope = [&#34;email&#34;]

return config</code></pre>
</details>
Expand Down

0 comments on commit a3f023b

Please sign in to comment.