-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Description
The W3ID features will be exported as a modular library that will implement the specification as provided here.
Within the prototype's scope a typescript implementation will be developed as the lib which will further be used in all the products that rely on w3id.
The lib would consist of a single factory class that the consumer applications would be able create a usable W3ID class with, catered to the application's own implementation details like, registry used, among other details.
The returned class is what would be used for all w3id generations and operations performed on any w3id, like rotation.
The generation and rotation of the W3ID is determined by the registry used so, it's intrinsically dependent on the factory, due to dependence on the application's configuration for the registry and seed used and so would be referenced as sub components of the return of the factory.
Reference
%%{init: {"theme": "default"}}%%
graph TD
CA[Consumer Application]
subgraph "W3ID Library"
WF[W3ID Factory sub-issue #13]
WI[W3ID Instance]
R[Registry Component]
SC[Seed / Config]
end
CA -->|Calls create W3ID config| WF
WF -->|Instantiates| WI
WI -->|Initializes registry| R
WI -->|Configured with| SC
CA -->|Calls generate| WI
CA -->|Calls rotate| WI
Acceptance Criteria
Implements components as defined.
Implements tests for the same