HS.BulkFHIR.ClientAuth.BasicAuth.Adapter
class HS.BulkFHIR.ClientAuth.BasicAuth.Adapter extends HS.BulkFHIR.API.ClientAuthAdapter
Method Inventory
Parameters
parameter IsOAuth = 0;
Inherited description: Whether the adapter uses OAuth.
parameter archeType = client-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.ClientAuth.BasicAuth.Config;
Methods
classmethod GetAuthEnabledRestClient(pSession As HS.BulkFHIR.Session = "", pBFCconfig As HS.BulkFHIR.API.Data.Config = "", pClientAuthConfig As HS.BulkFHIR.ClientAuth.BasicAuth.Config, pMaxRequestsPerSec As %Integer = 10, ByRef pHeaders, pAccessTokenConfig As HS.BulkFHIR.Fetch.Util.AccessToken = "", pAdditionalAudienceUrl As %String = "") as HS.BulkFHIR.Fetch.Util.RestClient
One of either @Input pSession or @Input pBFCConfig must be specified.
simply returns rest client with service registry entry as configured
nothing special to do - expectation is that the service registry entry is already configured with the credentials
classmethod InitializeAdapterSpecific(pBFCconfig As HS.BulkFHIR.API.Data.Config, pClientAuthConfig As HS.BulkFHIR.ClientAuth.ConfigBase, ByRef pServiceRegistryEntry As HS.Registry.Service.HTTP)
called whenever BFC configuration is (re)configured
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()
- GetFetchTokenInfo()
- GetUnAuthenticatedRestClient()
- Initialize()
- PrelimValidateSession()