BuilderExtensions.UseIdentity(IApplicationBuilder) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This method is obsolete and will be removed in a future version. The recommended alternative is UseAuthentication(). See https://go.microsoft.com/fwlink/?linkid=845470
此方法已过时,并将从未来版本中删除。 建议的替代方法是 UseAuthentication(IApplicationBuilder)
为当前应用程序启用 ASP.NET 标识。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseIdentity(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseIdentity (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[System.Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is UseAuthentication(). See https://go.microsoft.com/fwlink/?linkid=845470")]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseIdentity (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseIdentity : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is UseAuthentication(). See https://go.microsoft.com/fwlink/?linkid=845470")>]
static member UseIdentity : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseIdentity (app As IApplicationBuilder) As IApplicationBuilder
参数
IApplicationBuilder此方法扩展的实例。
返回
IApplicationBuilder此方法扩展的实例。
- 属性