فرمت JSON Web Token
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
JSON Web Tokens ( JWTs ) توسط SAS Portal API به دو صورت استفاده می شود:
- برای کمک به اعتبارسنجی هویت CPI.
- اجازه دادن به غیر CPIها برای کمک به نصب CBSDهایی که نیاز به نصب CPI دارند.
در طول اعتبارسنجی هویت CPI ، از CPI خواسته میشود که یک JWT از یک راز تولید شده توسط SAS Portal API ایجاد کند. در این مورد، CPI از کلید خصوصی خود برای ایجاد JWT استفاده می کند.
از طرف دیگر، غیر CPIها ممکن است از SAS Portal API برای ایجاد یک پیکربندی دستگاه از JWT ایجاد شده توسط یک CPI استفاده کنند. در این مورد، JWT شامل پارامترهای ثبت CBSD است و CPI از کلید خصوصی آنها برای ایجاد JWT استفاده می کند.
استاندارد JSON Web Signature (JWS) در RFC 7515 تعریف شده است و SAS Portal API از الگوریتم های امضای ES256 و RS256 پشتیبانی می کند.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThe SAS Portal API utilizes JSON Web Tokens (JWTs) for CPI identity validation and to enable non-CPIs to assist in CBSD installations requiring CPI involvement.\u003c/p\u003e\n"],["\u003cp\u003eDuring CPI identity validation, the CPI generates a JWT using a secret from the SAS Portal API and their private key.\u003c/p\u003e\n"],["\u003cp\u003eNon-CPIs can utilize the SAS Portal API to create device configurations from a CPI-generated JWT containing CBSD registration parameters, signed with the CPI's private key.\u003c/p\u003e\n"],["\u003cp\u003eThe SAS Portal API adheres to the JSON Web Signature (JWS) standard (RFC 7515) and supports ES256 and RS256 signature algorithms.\u003c/p\u003e\n"]]],["JWTs are used within the SAS Portal API for CPI identity validation and to enable non-CPIs to assist with installing CBSDs requiring CPI installation. CPIs create JWTs using their private keys for both purposes. During identity validation, they create a JWT from a SAS Portal API-generated secret. For non-CPI assistance, they create JWTs containing CBSD registration parameters. The API utilizes the JWS standard (RFC 7515) and supports ES256 and RS256 signature algorithms.\n"],null,["# JSON Web Token format\n\nJSON Web Tokens ([JWTs](https://jwt.io)) are used\nby the SAS Portal API in two ways:\n\n- To aid with CPI identity validation.\n- To allow non-CPIs to help install CBSDs that require CPI installation.\n\nDuring [CPI identity validation](https://developers.google.com/spectrum-access-system/guides/validation-of-cpi-identity), the CPI is asked to create a JWT from a secret generated by the SAS\nPortal API. In this case, the CPI uses their private key to create the JWT.\n\nAlternatively, non-CPIs may use the SAS Portal API to create a device configuration from a JWT\ncreated by a CPI. In this case, the JWT contains CBSD registration parameters and the CPI uses their\nprivate key to create the JWT.\n\nThe JSON Web Signature (JWS) standard is defined in [RFC 7515](https://tools.ietf.org/html/rfc7515), and the SAS Portal API supports the ES256 and RS256 signature algorithms."]]