()
| 52 | }) |
| 53 | |
| 54 | export function getTrustedDeviceToken(): string | undefined { |
| 55 | if (!isGateEnabled()) { |
| 56 | return undefined |
| 57 | } |
| 58 | return readStoredToken() |
| 59 | } |
| 60 | |
| 61 | export function clearTrustedDeviceTokenCache(): void { |
| 62 | readStoredToken.cache?.clear?.() |
no test coverage detected