私はasp.netコア2.0でIdentity Server 4を開発しています。 ConfigurationServicesでIdentityServer4 with asp.net core2.0 erron on AuthenticationOptionsクラス
()Iを添加する方法:
app.UseIdentityServerAuthentication(new IdentityServerAuthenticationOptions
{
Authority = "http://localhost:59391",
RequireHttpsMetadata = false,
ApiName = "api1"
});
しかし、というエラーをコンパイル与える:それは 'Microsoft.AspNetCore.Authentication' で定義される
'AuthenticationOptions' クレームを入力するための基準しかしそれは見つからなかった。
私はアセンブリコードに見て:私はこのGithub linkで多くのことを議論した。このsample project(.NETのコア1.1)とAuthenticationOptions
ビルドエラーに基づいていますが、アイデンティティ・サーバー4ではないように思える働い
namespace Microsoft.AspNetCore.Builder
{
public class IdentityServerAuthenticationOptions : Builder.AuthenticationOptions
{
// properties goes here
}
}
asp .net core2.0で完全にサポートされています。それは本当ですか?
このエラーを解決する方法や、この問題を回避する方法についてご意見をお寄せください。