1.0.3 • Published 6 years ago
react-native-oauth2 v1.0.3
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
})