0.0.3 • Published 6 years ago
react-native-library-api-login v0.0.3
ReactNative login - logout - refresh token
Getting started
npm:
$ npm install react-native-library-api-loginYarn:
$ yarn add react-native-library-api-loginManual 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)