Bagikan melalui


ApiResourceCollection.AddIdentityServerJwt Metode

Definisi

Membuat API baru yang berdampingan dengan server otorisasi.

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))

Parameter

name
String

Nama API.

configure
Action<ApiResourceBuilder>

Func<T,TResult> untuk mengonfigurasi api jwt server identitas.

Berlaku untuk