react-native-auth0 icon indicating copy to clipboard operation
react-native-auth0 copied to clipboard

[SDK-3537] Credential manager for React Native

Open poovamraj opened this issue 3 years ago • 1 comments

Changes

We have provided Credentials Manager support for Android and iOS in React Native. The following methods are added

  • getCredentials
  • saveCredentials
  • hasValidCredentials
  • clearCredentials

We also return a boolean value from Android API for clearCredentials. This is to be same to our iOS API and Flutter API

This PR is a superset of https://github.com/auth0/react-native-auth0/pull/497 and will have all the changes and reviews from there implemented.

References

https://github.com/auth0/react-native-auth0/issues/476

Testing

  • [x] This change adds unit test coverage
  • [x] This change has been tested on the latest version of the platform/language or why not

Checklist

poovamraj avatar Aug 15 '22 09:08 poovamraj

👋🏻 Should this be going into master, or vnext?

stevehobbsdev avatar Aug 17 '22 09:08 stevehobbsdev