# OvokStorage

Canonical page: https://docs.ovok.com/java-sdk/reference/ovok-storage

```java
public abstract interface OvokStorage
```

Key-value store that keeps the signed-in session between runs. Set it with [`OvokConfig.Builder.storage(OvokStorage)`](/java-sdk/reference/ovok-config#builderstorage).

## Methods [#methods]

### getItem [#getitem]

```java
public String getItem(String key)
```

Reads a value.

**Parameters:**

- `key`: the key

**Returns:** the stored value, or `null` when absent

### setItem [#setitem]

```java
public void setItem(String key, String value)
```

Stores a value.

**Parameters:**

- `key`: the key
- `value`: the value

### removeItem [#removeitem]

```java
public void removeItem(String key)
```

Removes a value.

**Parameters:**

- `key`: the key
