Download the PHP package emartech/session-validator-client without Composer
On this page you can find all versions of the php package emartech/session-validator-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download emartech/session-validator-client
More information about emartech/session-validator-client
Files in emartech/session-validator-client
Download emartech/session-validator-client
More information about emartech/session-validator-client
Files in emartech/session-validator-client
Vendor emartech
Package session-validator-client
Short Description PHP client for Emarsys session validator service
License MIT
Homepage https://github.com/emartech/session-validator-client-php
Package session-validator-client
Short Description PHP client for Emarsys session validator service
License MIT
Homepage https://github.com/emartech/session-validator-client-php
Please rate this library. Is it a good library?
Informations about the package session-validator-client
Session Validator Client PHP
PHP client for Emarsys session validator service
Install
Usage
Create client
Escher example:
mTLS example:
Check Session Validity
isValid
provides a function to validate user session using either a msId
or a sessionDataToken
.
Name | Type | Throws | Description |
---|---|---|---|
msId |
string |
- | Deprecated and will be removed in the future |
sessionDataToken |
string |
SessionDataError |
Batch validating multiple MSIDs
Returns an array of the invalid MSIDs.
Warning: The batch validation is deprecated and will be removed in the future.
Caching results
Fetch session data
getSessionData
provides a function to fetch user session data object using a sessionDataToken
.
Logging
To enable logging, add a PSR-3 compatible logger to the client
Local development
All versions of session-validator-client with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
emartech/escher Version ^4.0
guzzlehttp/guzzle Version ^7.4
psr/log Version ^3.0
emartech/escher Version ^4.0
guzzlehttp/guzzle Version ^7.4
psr/log Version ^3.0
The package emartech/session-validator-client contains the following files
Loading the files please wait ....