AuthenticationBuilderExtensions.AddIdentityServerJwt 方法

定义

为与授权服务器共存的 API 添加身份验证处理程序。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ AddIdentityServerJwt(Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ builder);
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddIdentityServerJwt (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder);
static member AddIdentityServerJwt : Microsoft.AspNetCore.Authentication.AuthenticationBuilder -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddIdentityServerJwt (builder As AuthenticationBuilder) As AuthenticationBuilder

参数

返回

AuthenticationBuilder

适用于