diff --git a/docs/source/conf.py b/docs/source/conf.py index 6b3b767..cdb6be4 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -53,8 +53,8 @@ ] extlinks = { - "issue": ("https://github.com/djpugh/azure_devops_artifacts_helpers/issues/%s", "#"), - "pull": ("https://github.com/djpugh/azure_devops_artifacts_helpers/pull/%s", "PR #"), + "issue": ("https://github.com/djpugh/fastapi_aad_auth/issues/%s", "#"), + "pull": ("https://github.com/djpugh/fastapi_aad_auth/pull/%s", "PR #"), "user": ("https://github.com/%s", "@"), "pypi": ("https://pypi.org/project/%s", ""), } @@ -181,7 +181,7 @@ } ], "heroes": { - "index": "Adding Azure Active Directory Authentical for fastAPI", + "index": "Adding Azure Active Directory Authentication for fastAPI", }, "version_dropdown": False, } diff --git a/src/fastapi_aad_auth/ui/__init__.py b/src/fastapi_aad_auth/ui/__init__.py index f482b0b..96907da 100644 --- a/src/fastapi_aad_auth/ui/__init__.py +++ b/src/fastapi_aad_auth/ui/__init__.py @@ -26,6 +26,7 @@ class UI(LoggingMixin): """Provides Login endpoint methods, which are then wrapped in a factory method.""" + def __init__(self, config: 'config.Config', authenticator: 'auth.Authenticator', base_context: Dict[str, Any] = None): """Initialise the UI based on the provided configuration.