UNPKG
@picahq/authkit-node
Version:
latest (2.0.1)
2.0.1
2.0.0
1.0.3
1.0.2
1.0.1
1.0.0
Secure token generation for Pica AuthKit
picaos.com
@picahq/authkit-node
/
src
/
logic
/
getHeaders.ts
7 lines
(6 loc)
•
142 B
text/typescript
View Raw
1
2
3
4
5
6
7
export
const
getHeaders
= (
secret
:
string
) => {
return
{
'X-Pica-Secret'
: secret,
'Content-Type'
:
'application/json'
, }; };