1.55.4 (latest) 1.55.3 1.52.0 1.50.1 1.49.0 1.48.1 1.47.1 1.46.0 1.45.2 Reference documentation and code samples for the Google Auth Library Client class TypedItem.

A cache item.

This class will be used by MemoryCacheItemPool and SysVCacheItemPool
on PHP 8.0 and above. It is compatible with psr/cache 3.0 (PSR-6).

## Namespace

Google \\ Auth \\ Cache

## Implements

\\Psr\\Cache\\CacheItemInterface

## Methods

### __construct

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `string` |

### getKey

{@inheritdoc}

### get

{@inheritdoc}

### isHit

{@inheritdoc}

### set

{@inheritdoc}

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### expiresAt

{@inheritdoc}

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `expiration` | `mixed` |

### expiresAfter

{@inheritdoc}

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `time` | `mixed` |