Update authentication.rst (#449)

Cannot assign lambda expression to an implicity-typed variable
This commit is contained in:
Lee Kah Wai 2018-07-05 13:57:08 +08:00 committed by Tom Pallister
parent 8029d07d1d
commit 85efcf0787

View File

@ -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";