code: def supported_activation_methods(res):
      
      supported = ["web"]  # web activation is always supported.
  
      # oauth
      if res["oauth_server"]:
          supported.append("oauth")
  
      for req in res["DATA"]:
          # myproxy
          if (
              req["type"] == "myproxy"
              and req["name"] == "hostname"
              and req["value"] != "myproxy.globusonline.org"
          ):
              supported.append("myproxy")
  
          # delegate_proxy
          if req["type"] == "delegate_proxy" and req["name"] == "public_key":
              supported.append("delegate_proxy")
  
      return supported
docs: Given an activation_requirements document
      returns a list of activation methods supported by this endpoint.