RESOLVED FIXED 277850
Digital Credentials: implement Digital Credentials Coordinator and IPC
https://bugs.webkit.org/show_bug.cgi?id=277850
Summary Digital Credentials: implement Digital Credentials Coordinator and IPC
Marcos Caceres
Reported 2024-08-09 00:52:06 PDT
the DigitalCredentialManager serves as the orchestrator for managing digital credential requests from the UIProcess, interfacing with a conceptual digital wallet, and ensuring a smooth and reliable process for handling digital credentials within the system. Its primary responsibilities include: Handling Credential Requests: * The DigitalCredentialManager is responsible for receiving and processing digital credential requests from the user or the system. It ensures that only one request is handled at a time, cancelling any ongoing request if a new one is initiated. Interfacing with the Digital Wallet: * It works closely with the DigitalWallet class, which is responsible for the actual interaction with the digital credentials. The manager delegates the task of fulfilling a request to the digital wallet and observes the wallet for responses or status updates. Managing the Request Lifecycle: * The manager is responsible for the entire lifecycle of a credential request, from initiation to completion or cancellation. This includes invoking the appropriate completion handlers based on the response received from the digital wallet, whether it is a successful credential presentation or an error. Observer Role: * As an observer of the DigitalWallet, the DigitalCredentialManager listens for responses from the wallet and acts accordingly, either by passing the response back to the original requester or by handling errors. Error Handling and Cleanup: * In case of errors or cancellation, the manager ensures that the state is cleaned up appropriately and that any necessary asynchronous tasks are completed. It is responsible for maintaining a consistent and stable state within the credential handling process.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-08-16 00:53:17 PDT
Marcos Caceres
Comment 2 2025-02-04 15:28:46 PST
EWS
Comment 3 2025-02-09 05:51:50 PST
Committed 290115@main (f4419f04902e): <https://commits.webkit.org/290115@main> Reviewed commits have been landed. Closing PR #40008 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.