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.167 -- Release Build+892a03c3dbb675b99c038de5cdd8c3d77a46615f
[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