authentication
Functions
| Function | Description |
|---|---|
| authenticateCustomer | Authenticate a customer with a signed payload. |
| getCurrentRole | Returns the role from the current token. |
| getShopifyCustomerId | Returns the Shopify customer ID from the current token. |
| logoutCustomer | Logs the current customer out. |
| setToken | Sets the Growave JWT token manually. |