def add_token(self, token):
    if not hasattr(token, 'scopes') or not token.scopes:
      return False

    for scope in token.scopes:
      self._tokens[str(scope)] = token
    return True
Adds a new token to the store (replaces tokens with the same scope).
dataset/ETHPy150Open kuri65536/python-for-android/python3-alpha/python-libs/atom/token_store.py/TokenStore.add_token