Udostępnij za pośrednictwem


ApiResourceBuilder.WithScopes(String[]) Metoda

Definicja

Dodaje dodatkowe zakresy do zasobu interfejsu 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

Parametry

resourceScopes
String[]

Lista zakresów.

Zwraca

Element ApiResourceBuilder.

Dotyczy