摘要:        
1. 修改 Config.cs 2. 修改 Startup.cs 3. 使用PostMan 调用调试 请求参数: client_id:pwdClientclient_secret:secretgrant_type:passwordpassword:123456username:sunxuchu 4.    阅读全文
posted @ 2018-07-01 23:50
落叶的瞬间;
阅读(1327)
评论(0)
推荐(0)
        
            
        
        
摘要:        
输出结果:    阅读全文
posted @ 2018-07-01 21:49
落叶的瞬间;
阅读(1978)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1. vs code 终端执行 dotnet new webapi --name ClientCredentialApi 2. 找到ValuesController.cs 引用 using Microsoft.AspNetCore.Authorization; 3. Nuget 导入 Identit    阅读全文
posted @ 2018-07-01 19:57
落叶的瞬间;
阅读(588)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1. 使用Vsual Studio Code 终端执行 dotnet new webapi --name IdentityServerSample 命令创建一个webapi 的 IdentityServer4Sample 项目 2. 添加Config.cs 类 3. 修改 Startup.cs 如下    阅读全文
posted @ 2018-07-01 16:45
落叶的瞬间;
阅读(592)
评论(0)
推荐(0)
        
 
                     
                    
                 
                    
                
 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号