Skip to main content

getCookie

getCookie(name: string,secure: boolean): Promise<any>

Get a cookie by name. Decrypt it if necessary
check https://stackoverflow.com/questions/10730362/get-cookie-by-name

Properties

(Mandatory properties are in bold)
PropertiesTypeDescription
namestring: name of the cookie
Additional properties for advanced use cases
PropertiesTypeDescription
secureboolean: decrypt the cookie