Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
microgateway-plugins
Advanced tools
Readme
This repo contains plugins for the microgateway-core project.
These plugins can be loaded into the microgateway calling the load plugin method
must contain an init method which returns an object literal with all of the handlers
{
init:function(config,logger,stats){
return {
onrequest:function(req,res,[options],next){
},
...
}
}
}
init method must return an object with handler methods for each event
the available handlers are
The handler signature will look like :
function(sourceRequest,sourceResponse,[options],next){}
sourceRequest: the request from the northbound server;
sourceResponse the response to the northbound server;
options: are the full scope of fields you might need to operate on.
const options = {
targetResponse: options.targetResponse,
targetRequest: options.targetRequest,
sourceRequest: options.sourceRequest,
sourceResponse: options.sourceResponse,
data: data
};
you must call next with an error if you errored out like
next([err])
FAQs
Plugins for Apige Edge Microgateway
The npm package microgateway-plugins receives a total of 362 weekly downloads. As such, microgateway-plugins popularity was classified as not popular.
We found that microgateway-plugins demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.