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 archeType = auth-basic;
Inherited description: This property describes the overarching type of the adapter & its subclasses, so that they may be understood as belonging to the same group exhibiting fundamentally similar behaviors or serving similar purpose. Used when generating the metadata (GUISettings) for all adapters & config classes so the UI may be able to identify the archeType of adapter it's dealing with, without knowing its full inheritance chain (e.g. all pureFHIR fetch adapter & their subclasses will have the same archeType, all BulkFHIR fetch adapter & subclasses will have same archeType, etc.) and the UI can enforce archeType specific behavior across otherwise indistinguishable adapters & their configs.
parameter configClass = HS.BulkFHIR.Auth.BasicAuth.Config;

Methods

classmethod Authenticate(pBFCConfig As HS.BulkFHIR.API.Data.Config, pUrl As %String, ByRef pContinue As %Boolean, pAllowedAud As %String = "")
Invoked when the BFC session has a %request to authenticate, @Input pBFCconfig - not used @Input pUrl - not used @Input pAllowedAud - not used @Output pContinue Flag indicating whether to continue with DispatchClass processing.
This method does not actually implement basic auth, as that is handled by the CSP.Rest authentication flow But rather implements effects relevant to the BFC application (e.g. permitting /metadata endpoint, logging failures, etc.)

Inherited Members

Inherited Methods

FeedbackOpens in a new tab