@reyah/m2m-auth-provider
v0.0.2
Published
Reyah SDK M2M authentication provider
Downloads
2
Readme
Reyah M2M auth provider
Reyah M2M auth provider for Node.js written in TypeScript
Compile
This project use typescript
yarn install
yarn buildUsage
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