> For the complete documentation index, see [llms.txt](https://pqko.gitbook.io/pqko-discord/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pqko.gitbook.io/pqko-discord/discord-authentication/using-headers.md).

# Using headers

Pqko-Discord Auth sets a couple of headers for you!

Pqko-Discord sends 4 headers these can be used how ever you wish

The required headers that you will receive are: \
&#x20;\- accessToken\
&#x20;\- refreshToken \
&#x20;\- logged (true || false)

A function created are:\
\- newRefreshToken \<refreshToken>

If the user authorized with the "identify" scope you will also receive:\
&#x20;\- user

You can use this by doing:\
&#x20;\- req.\<headerName>

That's it!
