added offline inquiry in system setting also fix some bugs

This commit is contained in:
2026-08-03 11:49:24 +03:30
parent ab4f667c8d
commit 7f672541ae
19 changed files with 965 additions and 26 deletions

View File

@@ -14,6 +14,13 @@ export class FanavaranAuthToken {
@Prop({ type: String, required: true })
authenticationToken: string;
/**
* Fingerprint of auth config used when this token was minted
* (appName/secret/user/pass/corp/contract/location). Mismatch → re-login.
*/
@Prop({ type: String, required: false })
authFingerprint?: string;
/** When this token should be refreshed (Asia/Tehran midnight). */
@Prop({ type: Date, required: true, index: true })
expiresAt: Date;