src/fastapi_aad_auth/oauth/aad.py
def from_config(cls, config: Config):
        """Load the auth backend from a config.

        Args:
            config: Loaded configuration

        Keyword Args:
            user_klass: The class to use as a user
        """
        session_validator = _SessionValidator.get_session_serializer(config.auth_session.secret.get_secret_value(),
                                                                     config.auth_session.salt.get_secret_value())
        provider = super().from_config(session_validator, config, config.aad)
        return provider.auth_backend
Load the auth backend from a config.

        Args:
            config: Loaded configuration

        Keyword Args:
            user_klass: The class to use as a user
        
Load the auth backend from a config.
Load the auth backend from a config .
def from_config(cls, config: Config):
        session_validator = _SessionValidator.get_session_serializer(config.auth_session.secret.get_secret_value(),
                                                                     config.auth_session.salt.get_secret_value())
        provider = super().from_config(session_validator, config, config.aad)
        return provider.auth_backend
def from_config ( cls , config : Config ) : session_validator = _SessionValidator . get_session_serializer ( config . auth_session . secret . get_secret_value ( ) , config . auth_session . salt . get_secret_value ( ) ) provider = super ( ) . from_config ( session_validator , config , config . aad ) return provider . auth_backend
Load the auth backend from a config.
Load the auth backend from a config .
"""Load the auth backend from a config.

        Args:
            config: Loaded configuration

        Keyword Args:
            user_klass: The class to use as a user
        """
cls
config
Config
None