Freigeben über


ApiResourceBuilder.ApiResource(String) Methode

Definition

Erstellt einen neuen Generator für eine extern registrierte 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

Parameter

name
String

Der Name der API.

Gibt zurück

ApiResourceBuilder.

Gilt für: