> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# TinkSecureStorage

> Kotlin Class

**Class**

```kotlin theme={null}
class TinkSecureStorage(context: Context, logger: Logger) : FailureAwareSessionStore
```

## Constructors

```kotlin theme={null}
constructor(context: Context, logger: Logger)
```

## Functions

### clear

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

### hasFailed

```kotlin theme={null}
open override fun hasFailed(): Boolean
```

Returns true if initialization has been attempted and failed. This can be used by wrapper classes to determine if fallback storage should be used.

### token

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

### update

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