react-native-oauth2

1.0.3 • Public • Published

react-native-oauth2

OAuth2 Package for RN

Usage

  import Oauth from '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
  })

Readme

Keywords

Package Sidebar

Install

npm i react-native-oauth2

Weekly Downloads

1

Version

1.0.3

License

ISC

Last publish

Collaborators

  • martinmilev