Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
L'API del portale Google Spectrum Access System (SAS) utilizza i token web JSON (JWT) in due modi:
Per facilitare la verifica dell'identità dell'installatore professionista certificato (CPI).
Per consentire ai non CPI di contribuire all'installazione di dispositivi CBSD (Citizens Broadband Radio Service) che richiedono l'installazione di CPI.
Durante la convalida dell'identità del CPI, il CPI deve creare un JWT da un segreto generato dall'API Portal SAS. In questo caso, l'CPI utilizza la propria chiave privata per creare il JWT.
In alternativa, i non CPI possono utilizzare l'API del portale SAS per creare una configurazione del dispositivo da un JWT creato da un CPI. In questo caso, il JWT contiene parametri di registrazione CBSD e il CPI utilizza la propria chiave privata per creare il JWT.
Lo standard JSON Web Signature (JWS) è definito in RFC 7515 e l'API SAS Portal supporta gli algoritmi di firma ES256 e RS256.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 UTC."],[],[],null,["# JSON Web Token format\n\nThe Google Spectrum Access System (SAS) Portal API uses\n[JSON Web Tokens (JWTs)](https://jwt.io) in two ways:\n\n- To aid with Certified Professional Installer (CPI) identity validation.\n- To allow non-CPIs to help install Citizens Broadband Radio Service Devices (CBSDs) that require CPI installation.\n\nDuring [CPI identity validation](/spectrum-access-system/docs/validate-cpi-identity),\nthe CPI must 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 can use the SAS Portal API to create a\ndevice configuration from a JWT created by a CPI. In this case, the JWT contains\nCBSD registration parameters, and the CPI uses their private key\nto create the JWT.\n\nThe JSON Web Signature (JWS) standard is defined in [RFC 7515](https://tools.ietf.org/html/rfc7515),\nand the SAS Portal API supports the ES256 and RS256 signature algorithms.\n\nWhat's next\n-----------\n\n- To get an overview of the SAS Portal API, see [Google SAS Portal API overview](/spectrum-access-system/docs/overview-api).\n- For information about each API, see [Customers API](/spectrum-access-system/docs/customers-api) and [Device Manager API](/spectrum-access-system/docs/device-manager-api).\n- For examples of how to use the API, see [API code samples](/spectrum-access-system/docs/samples).\n- For reference documentation, see [APIs and reference](/spectrum-access-system/docs/apis)."]]