forked from Yara724/api
added offline inquiry in system setting also fix some bugs
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user