Skip to content

OAuth2 client credentials provider for reyah typescript sdk

Notifications You must be signed in to change notification settings

ReyahSolutions/reyah-m2m-provider

Repository files navigation

Reyah M2M auth provider

Reyah M2M auth provider for Node.js written in TypeScript

Compile

This project use typescript

yarn install
yarn build

Usage

import Reyah from '@reyah/api-sdk';
import M2MAuthProvider from '@reyah/m2m-auth-provider';

const provider = new M2MAuthProvider('client_id', 'client_secret', ['optional scopes']);
Reyah.Auth.getInstance().useAuthProvider(provider);

Docs

The documentation is generated with Typedoc.

yarn install
yarn run gendoc

About

OAuth2 client credentials provider for reyah typescript sdk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published