Skip to content

KubraGoktas/react-native-auth

Repository files navigation

react-native-auth

react native authentication with jwt

Installation

npm install react-native-auth

important!!

yarn add @react-native-community/async-storage

Usage

import { setAuthToken, storageSetItem,storageGetItem,storageClear, storageRemoveItem} from 'react-native-auth';

// ...

setAuthToken(token)
storageSetItem('deneme','12345')
storageGetItem('deneme').then(res=>console.log(res))
storageClear()
storageRemoveItem('deneme')

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published