Skip to main content

HS.HC.RESTBase.ServicesHandler

abstract class HS.HC.RESTBase.ServicesHandler extends HS.REST.Handler

Base dispatch class for external services.

Method Inventory

Methods

final classmethod AuthenticationStrategy() as %Dictionary.Classname
Lock down as final to enforce this strategy.
abstract classmethod CheckHCResourcePermitted(resourceClass As %Dictionary.Classname) as %Boolean
Subclasses MUST override this method to specify which resource classes are allowed as part of the API.
final classmethod CheckResourcePermitted(resourceClass As %Dictionary.Classname) as %Boolean
Includes base REST resources for EVERY UI to include. Lock down as final to ensure these resources are always included.
final classmethod GetUserResource(pFullUserInfo As %DynamicObject) as %pkg.isc.rest.authentication.platformUser
Lock down as final to enforce this user context.
final classmethod Supports(pEndpoint As %String, pHTTPVerb As %String, pRequest As %CSP.Request = $$$NULLOREF) as %Boolean
Lock down to only support endpoints needed.

Inherited Members

Inherited Methods

FeedbackOpens in a new tab