mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-22 18:22:49 +08:00
Update authentication.rst (#449)
Cannot assign lambda expression to an implicity-typed variable
This commit is contained in:
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";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user