0.0.3 • Published 4 years ago

react-native-library-api-login v0.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

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)