Partager via


ApiResourceBuilder.ApiResource(String) Méthode

Définition

Crée un générateur pour une API inscrite en externe.

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

Paramètres

name
String

Nom de l’API.

Retours

Élément ApiResourceBuilder.

S’applique à