RESTAPI:Validity of Verifications

Aus Cryptshare Documentation
Wechseln zu:Navigation, Suche

In order to increase the safety of created verification tokens, Cryptshare administrators are able to set-up validity terms for verifications. Please refer to the chapter Verification where maximum and idle validity terms are discussed.

The validity of a verification token can be checked when the verification token is sent in the X-CS-VerificationToken header to the following endpoint, together with the used client id (X-CS-ClientId header) used in the request of the verification token and the respective email address in the request path:

GET https://<your-url>/api/users/<email-address>/verification

Using this endpoint you get the information if your verification is (still) valid and if it is valid, until when it is valid. The validUntil value denotes the earlier date of maximum validity date (if configued) and idle validity date.