Skip to main content

SetPinAndManager

Generate manager, set PIN, and add manager to the account

Usage

<SetPinAndAddManager
guardianApprovedList={[]}
verificationType={0}
guardianIdentifier={"105383420233267798964"}
onError={(error: any) => {
console.log(error, "onError SetPinAndAddManager===");
}}
onFinish={(result) => {
console.log(result, "onConfirm SetPinAndAddManager===");
}}
/>

API

PropertyDescriptionTypeDefaultVersion
typeJudge if it's "register", "recovery", or "addManager"AddManagerType-
chainIdChain ID where user account is registeredChainIdAELF
classNameCustomized class namestring-
onlyGetPinJudges if only PIN is being retrievedboolean-
accountTypeIdentifier typeAccountTypeEmail
keyboardIs Portkey numeric keyboard used. Only takes effect on mobile devicesboolean-V1.5.3+
guardianIdentifierIdentifier information (email, phone, Google ID, Apple ID)string-
guardianApprovedListList of completed signature informationGuardiansApproved[]-
isErrorTipIs error tip set as defaultbooleantrue
onErrorCallback of errorerror => void;-
onFinishCallback when sign-up or login is completed(values: DIDWalletInfo | string) => void;-
onBackCallback when back is clicked()=>void;-V1.5.3+
onCreatePendingTriggered when the creation/login initiated succeeds(pendingInfo: CreatePendingInfo) => void;-