SCA would override AuthService._authenticate_request method with its own internally handled authentication (without needind to communicate with an external auth server). Also the _fetch_public_keys_if_needed and is_ready methods would need to be overridden.
asab.web.auth
middleware (https://github.com/TeskaLabs/asab/blob/master/asab/web/auth/service.py) instead of having its own fully independent implementation.AuthService._authenticate_request
method with its own internally handled authentication (without needind to communicate with an external auth server). Also the_fetch_public_keys_if_needed
andis_ready
methods would need to be overridden.AuthService
including the decorators (https://github.com/TeskaLabs/asab/blob/master/asab/web/auth/decorator.py) should be transferrable without changes.