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.169 -- Release Build+8faf1ecac713d04b6f66b1362cad3fcad71f0c24
[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