会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
dudu
写好代码,一切随之而来
博客园
首页
新随笔
联系
订阅
管理
2015年7月
ASP.NET OAuth:access token的加密解密,client secret与refresh token的生成
摘要: 在ASP.NET OWIN OAuth(Microsoft.Owin.Security.OAuth)中,access token 的默认加密方法是:1) System.Security.Cryptography.DpapiDataProtector.Protect();2) Convert.ToBase64String();3) .TrimEnd('=').Replace('+', '-').Replace('/', '_');
阅读全文
posted @ 2015-07-14 23:30 dudu
阅读(9101)
评论(5)
推荐(1)
编辑
公告