Esri/arcgis-rest-js

ArcGISIdentityManager token/refreshToken update event

開放

#1,180 建立於 2024年11月2日

 (3 則留言) (1 個反應) (0 位負責人)TypeScript (126 個分叉)auto 404
enhancementhelp wanted

倉庫指標

星標
 (389 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南