ApiResourceBuilder.ReplaceScopes(String[]) Method

Definition

Replaces the scopes defined for the application with a new set of scopes.

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

Parameters

resourceScopes
String[]

The list of scopes.

Returns

The ApiResourceBuilder.

Applies to