toip.tools

interface · Browser and Node

EnrollRequest

@toip-tools/anon-membershipView source
TypeScriptImport
import { type EnrollRequest } from "@toip-tools/anon-membership";

Declaration

TypeScriptinterface
interface EnrollRequest {
  group: string;
  commitment: string;
  /** Anything the issuer's admit() needs to decide and to fill the leaf's attributes, such as a credential. */
  credential?: unknown;
  /** The member asks to replace a leaf they already have, with a new commitment (a rotation). admit() decides. (Additive.) */
  replace?: boolean;
}

Properties

grouprequired
string
commitmentrequired
string
credentialoptional
unknown

Anything the issuer's admit() needs to decide and to fill the leaf's attributes, such as a credential.

replaceoptional
boolean | undefined

The member asks to replace a leaf they already have, with a new commitment (a rotation). admit() decides. (Additive.)