Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@delysium/sso

Package Overview
Dependencies
Maintainers
4
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@delysium/sso

Client library for Delysium SSO apis

  • 1.7.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-80%
Maintainers
4
Weekly downloads
 
Created
Source

@delysium/sso

  • API Documentation

This package provides the api sdk of the Delysium project

Installation

🚨 Please make sure to add this NPM token in your .npmrc file: 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.

You can do so by running the following command:

echo "//registry.npmjs.org/:_authToken=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" >> .npmrc
yarn add @delysium/sso

Domain

Staging: https://sso-stg.delysium.com
Production: https://sso.delysium.com

Usage

import Client from '@delysium/sso'
import UserResponse from "./user.response";
import {EmptyTokenRequest} from "./request";

// 1. specify your domain
const domain = "https://sso-stg.delysium.com"

// 2. create the client and call init when the user wallet is connected
const client = new Client(domain)


// example of getting current user
const request: EmptyTokenRequest = {token: "user token"}
const me: UserResponse = await client.userMe(request)

Keywords

FAQs

Package last updated on 09 Jan 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc