AuthorizationInfoControllerBaseGetAPIResources Method

Gets a list of API 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.181 -- Release Build+b1aea6f0270f68db5b2857429b07e9defcfeeaa4
[HttpGetAttribute]
[RouteAttribute("APIresources")]
public virtual Task<IActionResult> GetAPIResources(
	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