{"header":{"alg":"HS256","typ":"JWT"},"payload":{"sub":"1234567890","name":"John Doe","iat":1516239022},"claims":{"issued_at":"2018-01-18T01:30:22.000Z"},"algorithm":"HS256"}
curl --location --request POST 'https://zylalabs.com/api/13166/token+decoder+and+verifier+api/26712/decode+a+token' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"}'
साइन अप करने के बाद, प्रत्येक डेवलपर को एक पर्सनल API एक्सेस की असाइन की जाती है, जो अक्षरों और अंकों का एक यूनिक संयोजन होता है, जिसका उपयोग हमारे API एंडपॉइंट तक पहुंचने के लिए किया जाता है। प्रमाणीकरण के लिए Token Decoder and Verifier API के साथ बस अपने बेयरर टोकन को Authorization हेडर में शामिल करें।
| हेडर | विवरण |
|---|---|
Authorization
|
आवश्यक
होना चाहिए Bearer access_key. जब आप सब्सक्राइब हों तो ऊपर "Your API Access Key" देखें।
|
कोई लंबी अवधि की प्रतिबद्धता नहीं। कभी भी अपग्रेड, डाउनग्रेड या कैंसल करें। फ्री ट्रायल में 50 रिक्वेस्ट तक शामिल हैं।
(वार्षिक बिलिंग के साथ 2 महीने बचाएँ 🎉)
अग्रणी कंपनियों का भरोसा
Inspect and verify signed web tokens without local tooling. The decode endpoint opens any token into its header, payload and time claim checks; the verify endpoint also validates the signature with your shared secret or public key.
Useful for debugging sign-in and single sign-on issues, verifying webhook and partner tokens, inspecting third party tokens during integrations, and checks in delivery pipelines.
डिकोड एंडपॉइंट टोकन के हेडर, पेलोड और समय क्लेम चेक्स, जिसमें समाप्ति, पहले नहीं और जारी करने का समय शामिल है, लौटाता है सत्यापन एंडपॉइंट टोकन के हस्ताक्षर की वैधता को साझा किए गए रहस्य या सार्वजनिक कुंजी का उपयोग करके पुष्टि करता है
Key fields in the Decode response include "header" (algorithm and type), "payload" (user data), "claims" (time-related claims), and "algorithm" (the signature algorithm used). Each field provides essential information about the token's structure and validity.
The response data is structured in JSON format, with distinct sections for "header," "payload," and "claims." Each section contains relevant information, making it easy to parse and understand the token's components and their meanings.
The Decode endpoint provides information about the token's structure and claims, while the Verify endpoint offers insights into the token's signature validity. This includes details on the algorithm used and the results of the signature check.
उपयोगकर्ता अपने अनुरोधों को इस प्रकार अनुकूलित कर सकते हैं कि वे उस टोकन को निर्धारित करें जिसे वे डिकोड या सत्यापित करना चाहते हैं एपीआई प्रदान किए गए टोकन को संसाधित करता है और इसकी सामग्री और चुने गए अंत बिंदु के आधार पर संबंधित जानकारी लौटाता है
प्रमुख उपयोग मामलों में साइन-इन समस्याओं का डिबगिंग करना वेबहुक टोकनों की पुष्टि करना तीसरे पक्ष के टोकनों का निरीक्षण करना जब एकीकरण करना और डिलीवरी पाइपलाइनों में टोकन की वैधता सुनिश्चित करना शामिल है यह सुरक्षित और विश्वसनीय प्रमाणीकरण प्रक्रियाओं को बनाए रखने में मदद करता है
Data accuracy is maintained by processing tokens in memory without storage, ensuring that only the most current and relevant information is evaluated. The API also supports multiple algorithms, allowing for robust verification methods.
Users can expect standard patterns in the token structure, such as consistent header fields (e.g., "alg" and "typ") and payload fields (e.g., "sub" and "iat"). Time claims will typically include "exp," "nbf," and "iat," providing a clear timeline of token validity.