Socket
Book a DemoInstallSign in
Socket

verify_nexmo_signature

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

verify_nexmo_signature

bundlerRubygems
Version
0.1.0
Version published
Maintainers
1
Created
Source

Verify Nexmo Signatures Rack Middleware

Integrate this middleware into your application to verify Nexmo signatures.

Dependencies

This middleware utilizes the following dependencies:

Installation and Usage

The verify signature middleware can be used standalone or integrated into a Ruby application. The middleware will return a 403 HTTP status code if the signature is not valid, and will continue the application if it is valid.

As a standalone application

Install the gem on your system:

$ gem install verify_nexmo_signature

Then require it from within your config.ru Rack configuration:

use VerifyNexmoSignature::Middleware

An example config.ru can be found in the examples folder. More information on getting up and running with Rack can be found at the Rack GitHub repository.

Mounted into a Rails Application

Require it in your Gemfile:

gem verify_nexmo_signature

And then add the middleware to your config/application.rb file to initialize it with your application:

config.middleware.use VerifyNexmoSignature::Middleware

Contributing

We ❤️ contributions from everyone! Bug reports, bug fixes and feedback on the library is always appreciated. Look at the Contributor Guidelines for more information.

License

This project is under the MIT LICENSE.

FAQs

Package last updated on 18 Nov 2019

Did you know?

Socket

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.

Install

Related posts