interface · Browser and Node
EnrollRequest
@toip-tools/anon-membershipView sourceimport { type EnrollRequest } from "@toip-tools/anon-membership";
Declaration
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
grouprequiredstringcommitmentrequiredstringcredentialoptionalunknownAnything the issuer's admit() needs to decide and to fill the leaf's attributes, such as a credential.
replaceoptionalboolean | undefinedThe member asks to replace a leaf they already have, with a new commitment (a rotation). admit() decides. (Additive.)