ApiResourceCollection.AddIdentityServerJwt 方法

定义

创建与授权服务器共存的新 API。

public:
 void AddIdentityServerJwt(System::String ^ name, Action<Microsoft::AspNetCore::ApiAuthorization::IdentityServer::ApiResourceBuilder ^> ^ configure);
public void AddIdentityServerJwt (string name, Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ApiResourceBuilder> configure);
member this.AddIdentityServerJwt : string * Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ApiResourceBuilder> -> unit
Public Sub AddIdentityServerJwt (name As String, configure As Action(Of ApiResourceBuilder))

参数

name
String

API 的名称。

configure
Action<ApiResourceBuilder>

用于 Func<T,TResult> 配置标识服务器 jwt API 的 。

适用于