LoginRadius Customer Registration wrapper provides access to LoginRadius Identity Management Platform API.
LoginRadius is an Identity Management Platform that simplifies user registration while securing data. LoginRadius Platform simplifies and secures your user registration process, increases conversion with Social Login that combines 30 major social platforms, and offers a full solution with Traditional Customer Registration. You can gather a wealth of user profile data from Social Login or Traditional Customer Registration.
LoginRadius centralizes it all in one place, making it easy to manage and access. Easily integrate LoginRadius with all of your third-party applications, like MailChimp, Google Analytics, Livefyre and many more, making it easy to utilize the data you are capturing.
LoginRadius helps businesses boost user engagement on their web/mobile platform, manage online identities, utilize social media for marketing, capture accurate consumer data, and get unique social insight into their customer base.
Please visit here for more information.
- Demo - A simple demo application demonstrating the usage of this SDK.
- Configuration - Everything you need to begin using the LoginRadius SDK.
Ruby wrapper for the LoginRadius API.
Install the SDK by adding LoginRadius to your application's Gemfile
.
gem 'login_radius'
Then, run $ bundle
. A copy of the SDK can also be found on our Github.
Before using any of the functions available in the library, its corresponding module must first be instantiated:
Create login_radius.rb
in /config/initializers
with the following content:
require "login_radius"
loginradius_config = {
:site_name => ENV["SITE_NAME"],
:api_key => ENV["API_KEY"],
:api_secret => ENV["API_SECRET"],
:custom_api_domain => ENV["CUSTOM_API_DOMAIN"]
}
::LoginRadiusAccountClient = LoginRadius::Account.new(loginradius_config)
::LoginRadiusAuthenticationClient = LoginRadius::Authentication.new(loginradius_config)
::LoginRadiusCustomObjectClient = LoginRadius::CustomObjectManagement.new(loginradius_config)
::LoginRadiusMultiFactorClient = LoginRadius::MultiFactorAuthentication.new(loginradius_config)
::LoginRadiusPasswordlessClient = LoginRadius::PasswordlessLogin.new(loginradius_config)
::LoginRadiusRolesClient = LoginRadius::RolesManagement.new(loginradius_config)
Please note that you only have to initiate modules you need.
The API key and secret can be obtained from the LoginRadius dashboard. Details on retrieving your key and secret can be found here.