simdb.remote.core.auth.no_authentication module¶
- class simdb.remote.core.auth.no_authentication.NoopAuthenticator[source]¶
Bases:
AuthenticatorNo-op authenticator which accepts any user as authenticated.
- authenticate(config: Config, request: Request) User | None[source]¶
Authenticate the user using parameters passed in the current request - i.e. username/password passed as part of SimpleAuth or a token in the request header.
Additional authentication options can be defined in the configuration specific to the type of authentication being performed - i.e. connection URI for LDAP server.