Smile CDR v2024.05.PRE
On this page:
   45.3    Initial appSphere Seeding 45.5    Auth: General for APIs   

45.4.1Authentication Callback Scripts

 

The Authentication Callback Scripts configuration category includes the following configurable options:

  • Authentication Callback Script (File)

  • Authentication Callback Script (Text)

45.4.2Property: Authentication Callback Script (File)

 
Property Name Authentication Callback Script (File)
Property Key
Property Type Resource Path
Description If set, supplies a callback function that will be executed after a successful authentication. This script can modify permissions, enhance the returned login details, or even reject the authentication. See Callback Scripts for more information. Values should be prefixed with file: or classpath:.
Applies to Modules
  • FHIR Storage (DSTU2 RDBMS)
  • FHIR Storage (R3 RDBMS)
  • FHIR Storage (R4 RDBMS)
  • FHIR Storage (R5 RDBMS)
  • LDAP Inbound Security
  • Local Inbound Security
  • SAML Inbound Security
  • SMART Inbound Security
  • Scripted Inbound Security
Default Value (no default)
Example Property
module.[MODULE_ID].config.callback_script.file = 

45.4.3Property: Authentication Callback Script (Text)

 
Property Name Authentication Callback Script (Text)
Property Key
Property Type JAVASCRIPT
Description If set, supplies a callback function that will be executed after a successful authentication. This script can modify permissions, enhance the returned login details, or even reject the authentication. See Callback Scripts for more information.
Applies to Modules
  • FHIR Storage (DSTU2 RDBMS)
  • FHIR Storage (R3 RDBMS)
  • FHIR Storage (R4 RDBMS)
  • FHIR Storage (R5 RDBMS)
  • LDAP Inbound Security
  • Local Inbound Security
  • SAML Inbound Security
  • SMART Inbound Security
  • Scripted Inbound Security
Default Value (no default)
Example Property
module.[MODULE_ID].config.callback_script.text = 
   45.3    Initial appSphere Seeding 45.5    Auth: General for APIs