@earnaha/auth0-action-helper
Version:
AHA auth0 action helper
21 lines (18 loc) • 663 B
JavaScript
/* eslint-disable no-unused-vars */
const BaseHelper = require('./base.js');
class PostUserRegistrationHelper extends BaseHelper {
/**
* Handler that will be called during the execution of a PostUserRegistration flow.
* @param {Event} event - Details about the context and user that has registered.
* @param {PostUserRegistrationAPI} api - Methods and utilities to help change the behavior after a signup.
*/
async exec(event, api) {
const auth0Id = event?.user?.user_id;
super.LOGGER.setMeta({ auth0Id });
super.LOG.debug(
{ event, api },
`PostUserRegistration.exec | is triggered`,
);
}
}
module.exports = PostUserRegistrationHelper;