phpDocumentor

HubSessionKeyServiceInterface

Interface HubSessionKeyServiceInterface

Tags
category

System

subpackage

Interfaces

Table of Contents

findByAuthHash()  : HubSessionKey|null
To find the HubSessionKey with the AuthHash, the method delegates to the HubSessionKeyRepository.
store()  : HubSessionKeyServiceInterface
To store the HubSessionKey and the AuthHash, the method delegates to the HubSessionKeyRepository

Methods

findByAuthHash()

To find the HubSessionKey with the AuthHash, the method delegates to the HubSessionKeyRepository.

public findByAuthHash(AuthHash $authHash) : HubSessionKey|null
Parameters
$authHash : AuthHash

The hub authorization hash identifier.

Return values
HubSessionKey|null

Returns a HubSessionKey instance of null if nothing was found.

store()

To store the HubSessionKey and the AuthHash, the method delegates to the HubSessionKeyRepository

public store(HubSessionKey $hubSessionKey, AuthHash $authHash) : HubSessionKeyServiceInterface
Parameters
$hubSessionKey : HubSessionKey

The session key to be stored.

$authHash : AuthHash

The authorization hash identifier.

Return values
HubSessionKeyServiceInterface

Returns same class instance for chained method calls.

Search results