Skip to main content

HS.BulkFHIR.Auth.BasicAuth.Adapter

class HS.BulkFHIR.Auth.BasicAuth.Adapter extends HS.BulkFHIR.API.AuthAdapter

Method Inventory

Parameters

parameter IsOAuth = 0;
Inherited description: Whether the adapter uses OAuth access tokens. Used in conjunction with the storage adapter to set the requireAccessToken setting in a status request.
parameter configClass = HS.BulkFHIR.Auth.BasicAuth.Config;

Methods

classmethod Authenticate(pBFCConfig As HS.BulkFHIR.API.Data.Config, pUrl As %String, ByRef pContinue As %Boolean) as %Status
Inherited description: @API.Overridable
Authentication method to be called from the BFC Rest Handler OnPreDispatch. Ensures that the request is authenticated. If authentication fails then this method must set pContinue=0 before returning. This method will be invoked on any HTTP request to the BFC Rest Handler, whether it is a kickoff request, search, or request for status. The CSP %request and %response objects are available to this method.
@Input pUrl Portion of the request URL that follows the base URL.
@Output pContinue Flag indicating whether to continue with DispatchClass processing.
@Returns %Status.
classmethod Initialize(pBFCconfig As HS.BulkFHIR.API.Data.Config)
Inherited description: @API.Overridable
Called when the BFC is first configured and again if that configuration is changed, this method may be used to do any implementation-specific setup.

Inherited Members

Inherited Methods

FeedbackOpens in a new tab