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.177 -- Release Build+f7e50df10978fe33a226118b5ca1ca7a93726e34
[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