src/dazzle_back/runtime/social_auth.py¶
Generated: 2026-03-30T04:38:48.312059+00:00
Commit: 615f1354a103
Language: python
Scope: dazzle_back
Purpose¶
OAuth2 Social Login for mobile clients.
Supports Google, Apple, and GitHub authentication via ID tokens or OAuth codes.
Key Exports¶
SocialProviderSocialProfileSocialAuthConfigSocialTokenRequestverify_google_tokenverify_apple_tokenexchange_github_codeverify_github_tokenSocialAuthServicecreate_social_auth_routesSocialAuthErrorauthenticatesocial_login
Dependencies¶
Imports¶
__future__.annotationsloggingsecretsdataclasses.dataclassenum.StrEnumtyping.Anypydantic.BaseModelpydantic.Fielddazzle_back.runtime._fastapi_compat.FASTAPI_AVAILABLEdazzle_back.runtime._fastapi_compat.APIRouterdazzle_back.runtime._fastapi_compat.HTTPExceptiondazzle_back.runtime._fastapi_compat.Requestdazzle_back.runtime.auth.AuthStoredazzle_back.runtime.auth.UserRecorddazzle_back.runtime.jwt_auth.JWTServicedazzle_back.runtime.token_store.TokenStoredazzle_back.runtime.http_utils.http_call_with_retrydazzle_back.runtime.http_utils.http_call_with_retrygoogle.auth.transport.requestsgoogle.oauth2.id_token
Event Interactions¶
None detected.
Invariants and Assumptions¶
- Assert: self.config.apple_team_id is not None
- Assert: self.config.apple_key_id is not None
- Assert: self.config.apple_bundle_id is not None
- Assert: self.config.github_client_id is not None
- Assert: self.config.github_client_secret is not None
Tests¶
tests/unit/test_social_auth.pytests/unit/test_social_auth_wiring.pytests/integration/test_runtime_e2e.pytests/integration/test_runtime_pipeline.pytests/unit/test_runtime_test_routes.py
Notes¶
This page was automatically generated by tools/gen_reference_docs.py.