Udostępnij za pośrednictwem


ApiResourceBuilder.ApiResource(String) Metoda

Definicja

Tworzy nowego konstruktora dla zewnętrznie zarejestrowanego interfejsu API.

public:
 static Microsoft::AspNetCore::ApiAuthorization::IdentityServer::ApiResourceBuilder ^ ApiResource(System::String ^ name);
public static Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ApiResourceBuilder ApiResource (string name);
static member ApiResource : string -> Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ApiResourceBuilder
Public Shared Function ApiResource (name As String) As ApiResourceBuilder

Parametry

name
String

Nazwa interfejsu API.

Zwraca

An ApiResourceBuilder.

Dotyczy