def set_user(cache_backend: AbstractCache, user: User): return cache_backend.set_user(user)
def get_user(cache_backend: AbstractCache, user_id: int) -> User: return cache_backend.get_user(user_id)
def set(cache_backend: AbstractCache, auth_header: str, user: User): return cache_backend.set_auth(auth_header, user)
def auth(cache_backend: AbstractCache, auth_header: str) -> User: return cache_backend.get_auth(auth_header)