SAP Spartacus 在未登录状态下浏览器 local storage 里存储的数据
生活随笔
收集整理的這篇文章主要介紹了
SAP Spartacus 在未登录状态下浏览器 local storage 里存储的数据
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
url:
http://localhost:4200/powertools-spa/en/USD/
未登錄狀態下:
觀察local storage存儲的數據:
auth:
{token: {}, userId: "anonymous", redirectUrl: "powertools-spa/en/USD/"}anonymous-consents:
{"templates":{"loading":false,"error":false,"success":true,"value":[{"description":"This is a sample marketing consent description that will need to be updated or replaced, based on the valid registration consent required.","id":"MARKETING_NEWSLETTER","name":"I approve to this sample MARKETING consent","version":0},{"description":"We would like to store your browsing behaviour so that our website can dynamically present you with a personalised browsing experience and our customer support agents can provide you with contextual customer support.","id":"PROFILE","name":"Allow SAP Commerce Cloud, Context-Driven Services tracking","version":0},{"description":"This is a sample store user information consent description that will need to be updated or replaced.","id":"STORE_USER_INFORMATION","name":"I approve to this sample STORE USER INFORMATION consent","version":0}]},"consents":[{"templateCode":"MARKETING_NEWSLETTER","templateVersion":0,"consentState":"GIVEN"},{"templateCode":"PROFILE","templateVersion":0,"consentState":"GIVEN"},{"templateCode":"STORE_USER_INFORMATION","templateVersion":0,"consentState":"GIVEN"}],"ui":{"bannerDismissed":true,"updated":false}}url: https://spartacus-dev2.eastus.cloudapp.azure.com:9002/authorizationserver/oauth/token
12小時后過期
時間差正好12小時:
更多Jerry的原創文章,盡在:“汪子熙”:
總結
以上是生活随笔為你收集整理的SAP Spartacus 在未登录状态下浏览器 local storage 里存储的数据的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 植物大战僵尸全明星闪电芦苇获得方法 抽奖
- 下一篇: SAP Spartacus 用户登录成功