Polyv Help Center

Help Center

Watch Conditions - Whitelist Watch

Updated: 2026-03-16 09:21:59

1. Configuration Information

1.1 Whitelist Watch Condition Configuration Information

Interface: AuthSettingItemPhone

Property Description Type
authType Condition Type Phone
enabled Enabled null | YN
privacyContent Privacy Statement Content string
privacyStatus Privacy Statement Enabled YN
authTips Welcome Title string
whiteListEntryText Entry Text null | string
whiteListInputTips Input Hint string

2. Usage

2.1 Verify Whitelist Watch

Api Method: verifyPhoneAuth(params: VerifyPhoneAuthParams): Promise<VerifyPhoneAuthResult>

Parameter Description:

  • params: Whitelist parameters, type VerifyPhoneAuthParams, required

Return Value Description: Authorization result, type Promise<VerifyPhoneAuthResult>

Example:

// 执行白名单授权
async function toDoAuthPhone(phone) {
  const result = await watchCore.auth.verifyPhoneAuth({
    phone,
  });
  if (result.success) {
    await handleAuthVerifySuccess(result);
  } else {
    await handleAuthVerifyFail(result);
  }
}
联系客服,在线咨询