class_docstr: Implements the authorization protocol for a moderated Hivemind network.
  See https://github.com/learning-at-home/hivemind/issues/253
class_docstr_tok: ["Implements","the","authorization","protocol","for","a","moderated","Hivemind","network",".","See","https",":","\/\/github.com\/learning-at-home\/hivemind\/issues\/253"]
code: def local_public_key(self) -> RSAPublicKey:
      return self._local_public_key
  
imports: import asyncio
  import functools
  import secrets
  from abc import ABC, abstractmethod
  from datetime import timedelta
  from enum import Enum
  from typing import Optional
  from hivemind.proto.auth_pb2 import AccessToken, RequestAuthInfo, ResponseAuthInfo
  from hivemind.utils.crypto import RSAPrivateKey, RSAPublicKey
  from hivemind.utils.logging import get_logger
  from hivemind.utils.timed_storage import TimedStorage, get_dht_time
label_desc: Use image node_id 4 for calling the TokenAuthorizerBase obj's underlying member method code with example usage: obj.local_public_key() and returns: self