HumHub Documentation (unofficial)

PsrCacheProvider
in package
implements CredentialProvider

FinalYes

Cache the Credential generated by the decorated CredentialProvider with PSR-6.

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.

Properties

$cache  : CacheItemPoolInterface
$decorated  : CredentialProvider
$logger  : LoggerInterface|null

Methods

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

Properties

Methods


        
On this page

Search results