Sdílet prostřednictvím


ApiResourceBuilder.WithScopes(String[]) Metoda

Definice

Přidá do prostředku rozhraní API další obory.

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

Parametry

resourceScopes
String[]

Seznam oborů.

Návraty

Hodnota ApiResourceBuilder

Platí pro