Too Long; Didn't Read
Adaptive authentication is an evolved form of multi factor authentication (MFA) where the authentication mechanism is decided depending on the the user’s risk profile and the behavior. WSO2 IS introduced function library support for adaptive authentication to handle adaptive authentication scripts in a hassle free manner. The common Java script functions which are useful for adaptive. authentication scripts can be stored as collections. Use the function library to import functions in order to use them in any adaptive authentication script. The function library is similar to require() in NodeJS.