Partager via


ApiResourceBuilder.WithScopes(String[]) Méthode

Définition

Ajoute des étendues supplémentaires à la ressource d’API.

public:
 Microsoft::AspNetCore::ApiAuthorization::IdentityServer::ApiResourceBuilder ^ WithScopes(... cli::array <System::String ^> ^ resourceScopes);
public Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ApiResourceBuilder WithScopes (params string[] resourceScopes);
member this.WithScopes : string[] -> Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ApiResourceBuilder
Public Function WithScopes (ParamArray resourceScopes As String()) As ApiResourceBuilder

Paramètres

resourceScopes
String[]

Liste des étendues.

Retours

L’ApiResourceBuilderopérateur

S’applique à