final class CachedToken

Properties

int|null $refreshAt

Methods

__construct(OAuthAuthenticator $authenticator)

Create a cache entry with a fixed renewal deadline.

bool
isUsable()

Determine whether this entry can still be used.

Details

at line 20
__construct(OAuthAuthenticator $authenticator)

Create a cache entry with a fixed renewal deadline.

Parameters

OAuthAuthenticator $authenticator

at line 32
bool isUsable()

Determine whether this entry can still be used.

Return Value

bool