> ## Documentation Index
> Fetch the complete documentation index at: https://crossmint-devin-1787949784-wallet-docs-two-concept-model.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# TinkWithFallbackSessionStore

> Kotlin Class

**Class**

```kotlin theme={null}
class TinkWithFallbackSessionStore : SessionStore
```

## Constructors

```kotlin theme={null}
constructor(context: Context, fallbackPolicy: FallbackPolicy = FallbackPolicy.MemoryOnly, logger: Logger = Deps.logger)
```

```kotlin theme={null}
Public constructor for production use.
```

## Functions

| Function                       | Description                                                                                                                                                              |
| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `clear`                        | -                                                                                                                                                                        |
| `isPersistentStorageAvailable` | Returns true if persistent storage is available. When using MemoryOnly fallback policy and fallback is active, this returns false.                                       |
| `isUsingFallback`              | Returns true if the store has fallen back to the alternative storage strategy. This can be used for logging, telemetry, or to inform users about degraded functionality. |
| `token`                        | -                                                                                                                                                                        |
| `update`                       | -                                                                                                                                                                        |

### clear

```kotlin theme={null}
open suspend override fun clear()
```

### isPersistentStorageAvailable

```kotlin theme={null}
fun isPersistentStorageAvailable(): Boolean
```

Returns true if persistent storage is available. When using MemoryOnly fallback policy and fallback is active, this returns false.

### isUsingFallback

```kotlin theme={null}
fun isUsingFallback(): Boolean
```

Returns true if the store has fallen back to the alternative storage strategy. This can be used for logging, telemetry, or to inform users about degraded functionality.

### token

```kotlin theme={null}
open suspend override fun token(): AuthToken?
```

### update

```kotlin theme={null}
open suspend override fun update(token: AuthToken?)
```
