Esri/arcgis-rest-js

ArcGISIdentityManager token/refreshToken update event

Aperta

#1180 aperta il 2 nov 2024

 (3 commenti) (1 reazione) (0 assegnatari)TypeScript (126 fork)auto 404
enhancementhelp wanted

Metriche repository

Star
 (389 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Describe the problem

I am using the API server side to automate updates to ArcGIS server. In the event the server goes down the ArcGISIdentityManager is stored in the database (serialized), allowing the automated service to setup an ArcGISIdentityManager on startup.

The ArcGISIdentityManager will handle token and refreshToken updates automatically. In such a case I would need to update my datastore. Currently there is no mechanism for a client of the REST API to listen for such changes.

Describe the proposed solution

Event or hook to allow a client to listen for token/refreshToken updates.

Alternatives considered

Currently retrieving ArcGISIdentityManager information on every automated update to detect changes and update my datastore if necessary.

Additional Information

No response

Guida contributor