from pulsar.user_auth.methods.interface import AuthMethod [docs] class AlwaysAllowAuthMethod(AuthMethod): """ Always allow """ def __init__(self, _config): pass auth_type = "allow_all" [docs] def authorize(self, authentication_info): return True [docs] def authenticate(self, job_directory): return {"username": "anonymous"}