code: def serialize(cls, installation_context):
          
  
          return {
              cls._FIELD_TOKEN: installation_context.token,
              cls._FIELD_PUBLIC_KEY_CLIENT: security.public_key_to_string(
                  installation_context.private_key_client.publickey()
              ),
              cls._FIELD_PRIVATE_KEY_CLIENT: security.private_key_to_string(
                  installation_context.private_key_client
              ),
              cls._FIELD_PUBLIC_KEY_SERVER: security.public_key_to_string(
                  installation_context.public_key_server
              ),
          }
docs: :type installation_context: context.InstallationContext
  
          :rtype: dict