[Webkit-unassigned] [Bug 277850] New: Digital Credentials: implement Digital Credentials Manager (UIProcess)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 9 00:52:06 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=277850
Bug ID: 277850
Summary: Digital Credentials: implement Digital Credentials
Manager (UIProcess)
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: marcosc at apple.com
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240809/0ee77602/attachment.htm>
More information about the webkit-unassigned
mailing list