> ## 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.

# FallbackPolicy

> Kotlin Enum Class

**Enum Class**

```kotlin theme={null}
enum FallbackPolicy : Enum<FallbackPolicy>
```

## Entries

| Entry                | Description                                                                                                                                        |
| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| `MemoryOnly`         | Fall back to in-memory storage only. Tokens will not persist across app restarts but security is maintained.                                       |
| `InsecurePersistent` | Fall back to insecure persistent storage. Tokens will persist but are stored in plaintext. Use with caution and only when persistence is critical. |

## Properties

| Property  | Type                          | Description                                                                                       |
| --------- | ----------------------------- | ------------------------------------------------------------------------------------------------- |
| `entries` | `EnumEntries<FallbackPolicy>` | Returns a representation of an immutable list of all enum entries, in the order they're declared. |
| `name`    | `String`                      | -                                                                                                 |
| `ordinal` | `Int`                         | -                                                                                                 |

## Functions

| Function  | Description                                                                                                                                                                                                      |
| --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `valueOf` | Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.) |
| `values`  | Returns an array containing the constants of this enum type, in the order they're declared.                                                                                                                      |

### valueOf

```kotlin theme={null}
fun valueOf(value: String): FallbackPolicy
```

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

### values

```kotlin theme={null}
fun values(): Array<FallbackPolicy>
```

Returns an array containing the constants of this enum type, in the order they're declared.
