Skip to content

authsignal/authsignal-ruby

Repository files navigation

Authsignal

Authsignal Ruby SDK

Gem Version License

The official Authsignal Ruby library for server-side applications. Use this SDK to easily integrate Authsignal's multi-factor authentication (MFA) and passwordless features into your Ruby backend.

Installation

Add this line to your application's Gemfile:

gem "authsignal-ruby"

And then execute:

bundle install

Or install it yourself as:

gem install authsignal-ruby

Getting started

Initialize the Authsignal client with your secret key from the Authsignal Portal and the API URL for your region.

require 'authsignal'

# Initialize the client
Authsignal.setup do |config|
  config.api_secret_key = ENV['AUTHSIGNAL_SECRET_KEY']
  config.api_url = ENV['AUTHSIGNAL_API_URL'] # Use region-specific URL
end

API URLs by region

Region API URL
US (Oregon) https://api.authsignal.com/v1
AU (Sydney) https://au.api.authsignal.com/v1
EU (Dublin) https://eu.api.authsignal.com/v1

License

This SDK is licensed under the MIT License.

Documentation

For more information and advanced usage examples, refer to the official Authsignal server-Side SDK documentation.

About

The Authsignal Ruby Client

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 10