Returns the value of a cookie that was signed with a secret.
The Cookie header value or Document.cookie.
Cookie
The name of a cookie to retrieve.
The signing secret key.
The cookie value, or undefined if there's no cookie with the given name or signature verification has failed.
undefined
Returns the value of a cookie that was signed with a secret.