Udostępnij za pośrednictwem


ClientBuilder.WithScopes(String[]) Metoda

Definicja

Dodaje element scopes do listy dozwolonych zakresów dla klienta.

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

Parametry

scopes
String[]

Lista zakresów.

Zwraca

Element ClientBuilder.

Dotyczy