react-native-library-api-login
v0.0.3
Published
This is upgrade version for API
Downloads
9
Maintainers
Readme
ReactNative [login - logout - refresh token]
Getting started
npm:
$ npm install react-native-library-api-login
Yarn:
$ yarn add react-native-library-api-login
Manual installation
1. Add Files to [your project's name]
2. Go to [Usage]
Usage
import {UserLogin, UserLogout, storeRefreshToken} from 'react-native-library-api-login';
Call API
UserLogin(this.state.username, this.state.password)
UserLogout()
storeRefreshToken(refresh_Token)