Partilhar via


ClientBuilder.WithScopes(String[]) Método

Definição

Adiciona o scopes à lista de escopos permitidos para o cliente.

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

Parâmetros

scopes
String[]

A lista de escopos.

Retornos

O ClientBuilder.

Aplica-se a