Smile CDR v2023.02.PRE
On this page:
   39.3    Initial appSphere Seeding 39.5    Auth: General for APIs   

39.4Authentication Callback Scripts

 

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

  • Authentication Callback Script (File)

  • Authentication Callback Script (Text)

39.4.1Property: 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 Relational)
  • FHIR Storage (R3 Relational)
  • FHIR Storage (R4 Relational)
  • 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 = 

39.4.2Property: 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 Relational)
  • FHIR Storage (R3 Relational)
  • FHIR Storage (R4 Relational)
  • 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 = 
   39.3    Initial appSphere Seeding 39.5    Auth: General for APIs