Partilhar via


ApiResourceBuilder.WithScopes(String[]) Método

Definição

Adiciona escopos adicionais ao recurso de 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

Parâmetros

resourceScopes
String[]

A lista de escopos.

Retornos

O ApiResourceBuilder.

Aplica-se a