code: def securityHandler(self, value):
          
          if isinstance(value, abstract.BaseSecurityHandler):
              if isinstance(value, security.AGOLTokenSecurityHandler):
                  self._securityHandler = value
                  self._token = value.token
                  self._username = value.username
                  self._password = value._password
                  self._token_url = value.token_url
              elif isinstance(value, security.OAuthSecurityHandler):
                  self._token = value.token
                  self._securityHandler = value
              else:
                  pass
docs: sets the security handler