Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function initIdp() {
notifier = new AuthorizationNotifier();
authorizationHandler = new NodeBasedHandler(getLocalPort(idpConfig.redirectUri));
tokenHandler = new BaseTokenRequestHandler(requestor);
// set notifier to deliver responses
authorizationHandler.setAuthorizationNotifier(notifier);
// set a listener to listen for authorization responses
// make refresh and access token requests.
}