rook_auth
v0.6.4
Published
Downloads
15
Readme
RookMotion Auth RookMotion Auth contains a Provider to notify the submodules if the apps is authorized by the given token Instalation npm
npm i rook_auth
yarn
yarn add rook_auth
Usage The package include a component call RookConnectProvider, it should preferably be used at the root of your component tree. RookConnectProvider needs the token that was given to you. import { RookConnectProvider } from 'rook_auth'
<RookConnectProvider
keys={{
clientUUID: '',
environment: 'production | sandbox',
password: '',
}}
>
<YOUR-COMPONENTS />
</RookConnectProvider>