2.5.0 • Published 5 years ago

@trifinlabs/ramp-api-security v2.5.0

Weekly downloads
-
License
Proprietary
Repository
-
Last release
5 years ago

#RAMP API Security Module

##Usage

Install as dependency

npm i @trifinlabs/ramp-api-security

Copy environment variables

cat ./node_modules/@trifinlabs/ramp-api-security/.env.dist >> .env

##Sample component-config.json

{
  "security": {
    "enabled": true,
    "publicEndpoints": [
      {
        "path": "/Messages/push.*",
        "method": "POST"
      },
      {
        "path": "/Auth/signup.*",
        "method": "POST"
      },
      {
        "path": "/Auth/signin.*",
        "method": "POST"
      },
      {
        "path": "/Auth/authorize*",
        "method": "POST"
      },
      {
        "path": "/Job/.*",
        "method": "GET"
      },
      {
        "path": "/Auth/social/signup.*",
        "method": "POST"
      }
    ]
  }
}
2.5.0

5 years ago

2.2.5

5 years ago

2.1.0

5 years ago

2.0.10

5 years ago

2.0.0

5 years ago

1.0.10

5 years ago