mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 13:38:01 -05:00
* [INJIMOB-3186]:Added ttl to the cache Signed-off-by: sairam-g9162 <sairamgirirao@gmail.com> * [INJIMOB-3186]: Added TTL to cache Signed-off-by: sairam-g9162 <sairamgirirao@gmail.com> * [INJIMOB-3186]-Add TTL to cache Signed-off-by: sairam-g9162 <sairamgirirao@gmail.com> * INJIMOB-3186 Added TTL to cache with dynamic update from config Signed-off-by: Sairam Girirao <sairamgirirao@gmail.com> * [INJIMOB-3186]: Resolved review comments for card INJIMOB-3186 Signed-off-by: Sairam Girirao <sairamgirirao@gmail.com> --------- Signed-off-by: sairam-g9162 <sairamgirirao@gmail.com> Signed-off-by: Sairam Girirao <sairamgirirao@gmail.com>
24 lines
1000 B
TypeScript
24 lines
1000 B
TypeScript
// Initial configs used by app if network is not available when app is opened for first time. once network is available response is cached and used from then
|
|
// Note: Need to keep this config in sync with actual mimoto response.
|
|
|
|
export const INITIAL_CONFIG = {
|
|
// These properties are stored in mosip-config github repo / inji-default.properties
|
|
allProperties: {
|
|
modelDownloadMaxRetry: '10',
|
|
audience: 'ida-binding',
|
|
allowedInternalAuthType: 'otp,bio-Finger,bio-Iris,bio-Face',
|
|
vcDownloadMaxRetry: '10',
|
|
minStorageRequiredForAuditEntry: '2',
|
|
minStorageRequired: '2',
|
|
vcDownloadPoolInterval: '6000',
|
|
issuer: 'residentapp',
|
|
allowedAuthType: 'demo,otp,bio-Finger,bio-Iris,bio-Face',
|
|
allowedEkycAuthType: 'demo,otp,bio-Finger,bio-Iris,bio-Face',
|
|
warningDomainName: '',
|
|
aboutInjiUrl: 'https://docs.mosip.io/inji/inji-wallet/inji-mobile',
|
|
faceSdkModelUrl: '',
|
|
openId4VCIDownloadVCTimeout: '30000',
|
|
cacheTTLInMilliSeconds: '3600000',
|
|
},
|
|
};
|