setono / client-id-contracts
Generic abstraction related to client id
Installs: 63 118
Dependents: 6
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
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
ClientId
value object - a
ClientIdGeneratorInterface
that will generate aClientId
- a
ClientIdProviderInterface
that will return a client id