Creates a new session repository instance.
The validator instance.
The config instance.
The logger instance.
The connector instance.
Authorizes the session by its ID.
If the session proxy is disabled, re-assigns it to a random enabled proxy.
The ID of the campaign containing the session.
The session ID to authorize.
The authorized session model.
Creates a new session.
The session is automatically assigned to a random enabled proxy.
The ID of the campaign to create the session in.
The newly created session model.
Lists campaign session history.
Sessions are ordered by auth time (newest first).
The ID of the campaign to list sessions for.
Limit on the number of records.
The array of session models, or null if the campaign does not exist.
Reads the session by its ID.
The ID of the campaign containing the session.
The session ID to read.
The session model, or null if the session is not found.
Revoking a session and stopping authorization.
The ID of the campaign containing the session.
The session ID to revoke.
Upgrades the session by its ID and secret.
The ID of the campaign containing the session.
The Lure ID through which the session is upgraded.
The session ID to upgrade.
The session secret.
StaticregisterRegisters the session repository as a singleton in the DI container.
The DI container to register in.
Redis-based session repository implementation.
Depends:
Example
Example