New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@authress/sdk

Package Overview
Dependencies
Maintainers
0
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@authress/sdk

Client SDK for Authress authorization as a service. Provides managed authorization api to secure service resources including user data.

3.0.171
latest
Source
npm
Version published
Weekly downloads
570
37.68%
Maintainers
0
Weekly downloads
 
Created
Source

Authress media banner

Authress SDK for Javascript/Typescript

This is the Authress SDK used to integrate with the authorization as a service provider Authress at https://authress.io.

Usage

npm install @authress/sdk

Then required the package:

const { AuthressClient } = require('@authress/sdk');

Getting Started

Frequently Asked Questions

  • Where do I get a user ID from?

Every JWT contains a user ID, and you can pull it out from there using the TokenVerifier import or verifyToken method. For more details see Authress JWT access tokens.

Method Documentation

SDK examples

Framework Examples

See all the available Authress Starter Kits

Contributions

Adding new DTO and methods

Auto generate the new code using this openapi generator, and merge the files into the appropriate locations:

curl -XPOST https://generator3.swagger.io/api/generate -H 'content-type: application/json' -d '{"specURL" : "https://api.authress.io/.well-known/openapi.json","lang" : "typescript-fetch","type" : "CLIENT","codegenVersion" : "V3"}'  --output generated_sdk.tar.gz

Keywords

authorization

FAQs

Package last updated on 10 Mar 2025

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