OwinAppBuilder.ConfigureAuthentication(IAppBuilder, HttpConfiguration) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將 ASP.NET Identity Framework 驗證提供者新增至 OWIN 應用程式管線。
protected internal virtual void ConfigureAuthentication (Owin.IAppBuilder appBuilder, System.Web.Http.HttpConfiguration config);
abstract member ConfigureAuthentication : Owin.IAppBuilder * System.Web.Http.HttpConfiguration -> unit
override this.ConfigureAuthentication : Owin.IAppBuilder * System.Web.Http.HttpConfiguration -> unit
Protected Friend Overridable Sub ConfigureAuthentication (appBuilder As IAppBuilder, config As HttpConfiguration)
參數
- appBuilder
- Owin.IAppBuilder
要設定的 Owin.IAppBuilder。
- config
- System.Web.Http.HttpConfiguration
目前的 System.Web.Http.HttpConfiguration。