Skip to content

0.1.8

Compare
Choose a tag to compare
@github-actions github-actions released this 14 Dec 12:01
· 109 commits to main since this release
09b2183

Changes

🚀 Features

  • Refactor the authentication handlers to a more extensible approach @djpugh (#32)

🎆 Future Deprecations

See the deprecations.rst file - From 0.2.0:

  • fastapi_aad_auth.oauth.state.AuthenticationState - replaced by fastapi_aad_auth._base.state.AuthenticationState
  • fastapi_aad_auth.oauth.aad.AADOAuthBackend - replaced by fastapi_aad_auth.providers.aad.AADProvider
  • fastapi_aad_auth.config.RoutingConfig.login_path - replaced by provider based usage of fastapi_aad_auth.config.RoutingConfig.oauth_base_route, see Configuring the Azure Active Directory App Registration for how to configure the app registration
  • fastapi_aad_auth.config.RoutingConfig.login_redirect_path- replaced by provider based usage of fastapi_aad_auth.config.RoutingConfig.oauth_base_route, see Configuring the Azure Active Directory App Registration for how to configure the app registration
  • fastapi_aad_auth.config.Config.aad - replaced by providers in fastapi_aad_auth.config.Config.providers
  • fastapi_aad_auth.auth.AADAuth - replaced by fastapi_aad_auth.auth.Authenticator*
  • fastapi_aad_auth.auth.AADAuth.api_auth_scheme() - replaced by fastapi_aad_auth._base.backend.BaseOAuthBackend.requires_auth() (includes allow_session boolean flag)

PRs: #32