Module

CallbackHandler

Methods

# static checkForCallbacks(basePath)

Determines whether the URI being hit is a non-app callback, invokes the appropriate callback handler.

This function is wrapped around the ReactDOM.render portion of the app index file, which allows the callback to be handled outside of the application and provides performance increases due to not requiring any app rendering prior to action.

Parameters:
Name Type Description
basePath

The URI of the application

View Source services/CallbackHandler.ts, line 21

A boolean representing whether the URL being hit is one of the "out of app" callback endpoints

# inner getPermittedQueryStrings()

Load the list of permitted query strings from the environment variable REACT_APP_PERMITTED_QSTRINGS. Primary use is for allowing specific query strings to save data to session storage upon landing.

View Source services/CallbackHandler.ts, line 51

A list of strings that are permitted