AuthorizationInfoControllerBaseGetResources Method

Gets a list of resources available for which permissions can be granted within the application.

Definition

Namespace: Gemstone.Web.APIController
Assembly: Gemstone.Web (in Gemstone.Web.dll) Version: 1.0.166 -- Release Build+4a305edb6f8467fec4d04bc8edb60d0dcc31a9ba
[HttpGetAttribute]
[RouteAttribute("resources")]
public virtual Task<IActionResult> GetResources(
	IAuthorizationPolicyProvider policyProvider,
	EndpointDataSource endpointDataSource
)

Parameters

policyProvider  IAuthorizationPolicyProvider
Provides authorization policies defined within the application
endpointDataSource  EndpointDataSource
Source for endpoint data used to look up controller and action metadata

Return Value

TaskIActionResult
A list of resources within the application.

See Also