mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-04 19:00:48 +08:00 
			
		
		
		
	Update authentication.rst (#449)
Cannot assign lambda expression to an implicity-typed variable
This commit is contained in:
		
				
					committed by
					
						
						Tom Pallister
					
				
			
			
				
	
			
			
			
						parent
						
							8029d07d1d
						
					
				
				
					commit
					85efcf0787
				
			@@ -100,7 +100,7 @@ In order to use IdentityServer bearer tokens register your IdentityServer servic
 | 
				
			|||||||
    public void ConfigureServices(IServiceCollection services)
 | 
					    public void ConfigureServices(IServiceCollection services)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        var authenticationProviderKey = "TestKey";
 | 
					        var authenticationProviderKey = "TestKey";
 | 
				
			||||||
        var options = o =>
 | 
					        Action<IdentityServerAuthenticationOptions> options = o =>
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                o.Authority = "https://whereyouridentityserverlives.com";
 | 
					                o.Authority = "https://whereyouridentityserverlives.com";
 | 
				
			||||||
                o.ApiName = "api";
 | 
					                o.ApiName = "api";
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user