共用方式為


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

適用於