Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
en:mervis-scada:50-api [2025/07/24 08:42] m.skrivanek [api/v2/get/authenticate] |
en:mervis-scada:50-api [2025/07/24 08:46] (current) m.skrivanek [api/v2/get/authenticate] |
||
---|---|---|---|
Line 54: | Line 54: | ||
**Response** | **Response** | ||
+ | |||
+ | * token (string) - Authentication token for calling other API methods. | ||
+ | * tokenValidFor (TimeSpan) - The duration for which the provided token is valid. This value is not returned if a token wasn't provided or if its validity period isn't configured. Example: " | ||
+ | * changePwdBefore (DateTime or null) - If present, this specifies the date and time by which the current password must be changed. This period is determined by the domain' | ||
+ | * notifyNearingPwdExpirationIn (TimeSpan or null) - If present, this indicates how long before the password expires (refer to changePwdBefore) a notification should be displayed to the user. Example: " | ||
+ | |||
+ | |||
<code javascript> | <code javascript> | ||
Line 77: | Line 84: | ||
} | } | ||
}</ | }</ | ||
- | |||
- | **Key Properties Description** | ||
- | |||
- | **token** (string) | ||
- | Authentication Token for Calling Other API Methods | ||
- | |||
- | **tokenValidFor** (TimeSpan) | ||
- | The duration for which the provided token is valid. This value is not returned if a token wasn't provided or if its validity period isn't configured. | ||
- | Example: " | ||
- | |||
- | **changePwdBefore** (DateTime or null) | ||
- | If present, this specifies the date and time by which the current password must be changed. This period is determined by the domain' | ||
- | Example: " | ||
- | |||
- | **notifyNearingPwdExpirationIn** (TimeSpan or null) | ||
- | If present, this indicates how long before the password expires (refer to changePwdBefore) a notification should be displayed to the user. | ||
- | Example: " | ||
- | |||
- | |||
- | |||
====[Deprecated] api/ | ====[Deprecated] api/ | ||