setono/client-id-contracts

Generic abstraction related to client id

Maintainers

Package info

github.com/Setono/client-id-contracts

pkg:composer/setono/client-id-contracts

Statistics

Installs: 73 906

Dependents: 5

Suggesters: 0

Stars: 0

Open Issues: 0

v0.2.0 2021-04-22 10:04 UTC

This package is auto-updated.

Last update: 2026-03-01 00:34:47 UTC


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 a ClientId
  • a ClientIdProviderInterface that will return a client id