getTempEffectiveList()
Requires:
@ray-js/lock-sdk≥1.0.0
Description
Get the list of active temporary passwords.
Parameters
None
Return Value
Type: Promise<EffectivePasswrodItem[]>
Current list of active temporary passwords
EffectivePasswrodItem
| Property | Type | Description |
|---|---|---|
status | "effective" | "toBeEffective" | "frozen" | "freezing" | "synchronizing" | "toBeDeleted" | Password status |
unlockBindingId | string | Password ID |
| Validity settings | ||
name | string | Password name |
type | "custom" | "once" | "limit" | "clear" | "clearOne" | Password type |
sn | number | Password SN |
hasClearPwd | boolean | Whether the current password is marked for clearing |
| Target info for clearing a single password |
Referenced Types
interface
EffectiveConfig| Property | Type | Description |
|---|---|---|
effectiveDate | number | Effective date (seconds-level timestamp) |
expiredDate | number | Expiration date (seconds-level timestamp) |
repeat | "none" | "week" | Repeat policy: none or weekly |
weeks | Week | Weekly repeat bitmap |
effectiveTime | number | Daily start time (minutes) |
expiredTime | number | Daily end time (minutes) |
type
WeekWeekly repeat bitmap: indices 0–6 correspond to Sun–Sat; 0 inactive, 1 activeValid Values
return.status
| Value | Description | Since |
|---|---|---|
effective | - | - |
toBeEffective | - | - |
frozen | - | - |
freezing | - | - |
synchronizing | - | - |
toBeDeleted | - | - |
EffectiveConfig.repeat
| Value | Description | Since |
|---|---|---|
none | - | - |
week | - | - |
Week
| Value | Description | Since |
|---|---|---|
0 | - | - |
1 | - | - |
return.type
| Value | Description | Since |
|---|---|---|
custom | - | - |
once | - | - |
limit | - | - |
clear | - | - |
clearOne | - | - |