ApiResourceBuilder.WithScopes(String[]) Method    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds additional scopes to the API resource.
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.ApiResourceBuilderPublic Function WithScopes (ParamArray resourceScopes As String()) As ApiResourceBuilderParameters
- resourceScopes
- String[]
The list of scopes.
Returns
The ApiResourceBuilder.