简体   繁体   English

使用 ADB2C 进行身份验证后,令牌存储在哪里?

[英]Where are tokens stored after authentication with ADB2C?

I am a beginner when it comes to authentication.在身份验证方面,我是初学者。 I recently created a login screen using ADB2C's custom policies.我最近使用 ADB2C 的自定义策略创建了一个登录屏幕。 I believe a token is issued at that time, where is it stored?我相信当时发行了令牌,它存储在哪里? cookie?localStrage? cookie?localStrage? I'm sorry for my ignorance, but please let me know.我很抱歉我的无知,但请让我知道。

It depends on the application type - did you develop a single page app[SPA], asp.net app, or windows WPF?这取决于应用程序类型——您开发的是单页应用程序[SPA]、asp.net 应用程序,还是 windows WPF? Based on the client side library it will be stored - in case of browser based app, it will be in cookies or localStorage .基于客户端库,它将被存储——如果是基于浏览器的应用程序,它将在 cookies 或localStorage中。 For instance, if you used MSAL angular module in angular app, then the value of cacheLocation when you called PublicClientApplication method determines it.例如,如果您在 angular 应用程序中使用MSAL angular 模块,则调用PublicClientApplication方法时的cacheLocation值将决定它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM