[API reference](https://evolu.dev/docs/api-reference) › [@evolu/common](https://evolu.dev/docs/api-reference/common) › [local‑first/Auth](https://evolu.dev/docs/api-reference/common/local-first/Auth) › DeviceSecretKeyRefusedError

Defined in: [packages/common/src/local-first/Auth.ts:146](https://github.com/evoluhq/evolu/blob/aa223771feea747ffb1b0f5f3271574455633e37/packages/common/src/local-first/Auth.ts#L146)

A [DeviceSecretKeyProvider](https://evolu.dev/docs/api-reference/common/local-first/Auth/interfaces/DeviceSecretKeyProvider) refused to create or get a key, such as when
the user dismissed its prompt or the key is gone. It can be temporary, such
as a locked password manager that took the prompt over, so let the user try
again.

## Extends

- [`Typed`](https://evolu.dev/docs/api-reference/common/Type/interfaces/Typed)\<`"DeviceSecretKeyRefused"`\>

## Properties

<a id="type"></a>

### type

```ts
readonly type: "DeviceSecretKeyRefused";
```

Defined in: [packages/common/src/Type.ts:19326](https://github.com/evoluhq/evolu/blob/aa223771feea747ffb1b0f5f3271574455633e37/packages/common/src/Type.ts#L19326)

#### Inherited from

[`Typed`](https://evolu.dev/docs/api-reference/common/Type/interfaces/Typed).[`type`](https://evolu.dev/docs/api-reference/common/Type/interfaces/Typed#type)