@fakel/ra-simple-auth
Version:
Simple auth provider for @fakel/rest-admin
25 lines (15 loc) • 310 B
Markdown
# Simple Auth Provider v0.0.1
## Installation
Using npm:
```
$ npm i @fakel/ra-simple-auth
```
Using yarn:
```
$ yarn add @fakel/ra-simple-auth
```
## Usage
```
import {createAuthProvider} from '@fakel/ra-simple-auth'
const authProvider = createAuthProvider({apiBaseUrl: "http://localhost:3000"})
```