HumHub Documentation (unofficial)

CacheProvider
in package
implements CredentialProvider, ResetInterface

FinalYes

Cache the Credential generated by the decorated CredentialProvider in memory.

The Credential will be reused until it expires.

Tags
author

Jérémy Derussé jeremy@derusse.com

Table of Contents

Interfaces

CredentialProvider
Interface for providing Credential.
ResetInterface
Provides a way to reset an object to its initial state.

Properties

$cache  : array<string, Credentials|null>
$decorated  : CredentialProvider

Methods

__construct()  : mixed
getCredentials()  : Credentials|null
Return a Credential when possible. Return null otherwise.
reset()  : void

Properties

Methods


        
On this page

Search results