Skip to content

clouway/react-native-oauth2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

react-native-oauth2

OAuth2 Package for RN

Instalation

Add NPM Registry

npm install clouway-react-native-oauth2 --save

Usage

  import Oauth from 'clouway-react-native-oauth2'

  const client = new Oauth(APP_ID, APP_CALLBACK, AUTH_URL, TOKEN_URL)

  client.authenticate().then(response => {
    // authentication was performed 
  }).catch(error => {
    // oops, got error during signing in, which could be shown to the user
  })

About

OAuth2 Package for RN

Resources

Stars

Watchers

Forks

Packages

No packages published