Integrate time synchronization
  • 23 Oct 2024
  • 1 Minute à lire
  • Sombre
    Lumière
  • PDF

Integrate time synchronization

  • Sombre
    Lumière
  • PDF

The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article

Mobile Authenticator Studio can be configured to display an online time synchronization button in the Settings menu. The online time synchronization consists in requesting the server GMT time from a web service. The server GMT time must be expressed in seconds since epoch.

Time synchronization (overview)

Time synchronization request

The web service used by Mobile Authenticator Studio is configured in the OnlineSynchronization section of the configuration file:

  1. <OnlineSynchronization>

  2.  <URL method="GET"value="http://MY_DOMAIN_NAME/MY_WEB_SERVICE" />

  3.  ...

  4. </OnlineSynchronization>

The URL can use the HTTP POST or GET methods. For more information about URL customization, refer to the Mobile Authenticator Studio Customization Guide.

Time synchronization response

The response expected by Mobile Authenticator Studio must be formatted as described in the DTD:

  1. <!ELEMENT DP4Mobile (Activation?,PendingTransactions?)>

  2. <!ATTLIST DP4Mobile serverTime CDATA #REQUIRED>

Example

  1. <?xml version="1.0"encoding="UTF-8"?>

  2. <DP4Mobile serverTime="1271862050" />

Time synchronization response attributes

Parameter name

Description

//DP4Mobile/@serverTime

Required. This is the current server GMT time. This value will be used by the application to silently set the drift between device and server time to keep the application synchronized.

The server time can be included in all requests submitted by the Mobile Authenticator Studio app (activation, online server activation, list transactions, get transaction details).

It is mandatory for activation and synchronization requests only.


Cet article vous a-t-il été utile ?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Ozzy, facilitant la découverte de connaissances grâce à l’intelligence conversationnelle