# UnauthenticatedReason

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

```java
public record UnauthenticatedReason(String type, int status)
```

Why the SDK signed the user out; passed to [`OvokConfig.Builder.onUnauthenticated(Consumer)`](/java-sdk/reference/ovok-config#builderonunauthenticated).

**Components:**

- `type`: the reason, such as `refresh-rejected`
- `status`: the HTTP status that caused it
