Reyah M2M auth provider for Node.js written in TypeScript
This project use typescript
yarn install
yarn build
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);
The documentation is generated with Typedoc.
yarn install
yarn run gendoc