setono / client-id-contracts
Generic abstraction related to client id
Installs: 71 422
Dependents: 5
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/setono/client-id-contracts
Requires
- php: >=7.4
README
Client ids are used in many applications to identify a user. It could be in
- Analytics software to identify the user between requests
- Consent management software to check that a user has consented
This library provides a very simple abstraction over this concept by providing
- a
ClientIdvalue object - a
ClientIdGeneratorInterfacethat will generate aClientId - a
ClientIdProviderInterfacethat will return a client id