
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
The Magic Admin Ruby SDK provides convenient ways for developers to interact with Magic API endpoints and an array of utilities to handle DID Token.
See the Magic doc!
Add this line to your application's Gemfile:
gem 'magic-admin'
And then execute:
$ bundle
Or install it yourself as:
$ gem install magic-admin
Before you start, you will need an API secret key. You can get one from the Magic Dashboard. Once you have the API secret key, you can instantiate a Magic object.
require 'magic-admin'
magic = Magic.new(api_secret_key: '<YOUR_API_SECRET_KEY>')
magic.token.validate('DID_TOKEN')
# Read the docs to learn more! 🚀
Optionally if you would like, you can load the API secret key from the environment variable, MAGIC_API_SECRET_KEY
.
# Set the env variable `MAGIC_API_SECRET_KEY`.
magic = Magic.new
Note: The arguments passed to the Magic
object takes precedence over the environment variables.
The Magic
object also takes in retries
, timeout
and backoff
as optional arguments at the object instantiation time so you can override those values for your application setup.
magic = Magic.new(retries: 5, timeout: 10, backoff: 0.03)
See Changelog
See License
FAQs
Unknown package
We found that magic-admin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.