@authress/sdk
v3.0.197
Published
Client SDK for Authress authorization as a service. Provides managed authorization api to secure service resources including user data.
Readme
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/sdkThen required the package:
import { AuthressClient } from '@authress/sdk';Getting Started
Reference Guide
See the SDK reference guide for a examples of commonly executed blocks with descriptions.
Method Documentation
- Authorize using a user token
- Authorize with a service client
- Creating resources
- Verifying a token using the token verifier
- Make direct API requests
- Paginating through a collection resource
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.
Framework Examples
See all the available Authress Starter Kits
