> For the complete documentation index, see [llms.txt](https://docs.hiveauth.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hiveauth.com/has-for-wallets-pksa/authentication/authentication-refusal.md).

# Authentication refusal

If the user rejects the authentication request, the **PKSA** can inform the **HAS** with the following message:

### auth\_nack

```javascript
{
    cmd: "auth_nack",
    uuid: string,
    data: string,
    pok: string
}
```

{% tabs %}
{% tab title="Properties" %}

* **`uuid`**: the request identifier
* **`data`**: the `uuid` encrypted with `auth_key` and converted to Base64
* **`pok`**: the `uuid` encrypted using the account private key and the HAS server public key (see [Proof of Key](/has-for-wallets-pksa/proof-of-key.md))
  {% endtab %}
  {% endtabs %}
