Skip to content

The Authress SDK in javascript

License

Notifications You must be signed in to change notification settings

wparad/authress-sdk.js

This branch is 47 commits behind Authress/authress-sdk.js:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

902651f · Mar 15, 2023
Nov 13, 2022
Jan 7, 2023
Mar 15, 2023
Mar 1, 2023
Mar 1, 2023
Apr 30, 2020
May 17, 2022
Apr 30, 2020
Nov 13, 2022
Mar 1, 2023
Apr 30, 2020
Mar 15, 2023
Mar 15, 2023
Mar 1, 2023
Feb 18, 2021
Nov 4, 2021
Nov 13, 2022
Jan 7, 2023

Repository files navigation

authress-sdk.js

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

npm version

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

About

The Authress SDK in javascript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 77.9%
  • TypeScript 22.1%