0.1.3 • Published 1 year ago

react-native-auth-service-client v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

react-native-auth-service-client

Demo app to test my package

Installation

npm install react-native-auth-service-client

Usage

import {
  addEvent,
  getEvent,
  deleteEvent,
} from 'react-native-auth-service-client';

// ...

const fetchValue = () => {
  // If android then you need to pass provider value other wise no need
  getEvent('com.demo.user.provider')
    .then((result) => setResult(result))
    .catch((err: any) => setResult('No data found in keychain'));
};

const deleteValue = () => {
  deleteEvent()
    .then((result) => setResult('Key Chain data '))
    .catch((err: any) => console.log(' save error==>', err));
};

const addValue = () => {
  console.log(email, password);
  addEvent(email, password)
    .then(fetchValue)
    .catch((err: any) => console.log(' save error==>', err));
};

Contributing

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

License

MIT


Made with create-react-native-library

absolute-pathabort-controllerJSONStreamacornacceptsadd-streamagent-baseacorn-jsxacorn-walkansi-alignanseraggregate-errorajvansi-stylesansi-escapesansi-regexanymatchansi-fragmentsargappdirsjsarr-diffargparsearray-includesarray-ifyarr-flattenarr-unionarray-uniquearray-unionarray.prototype.flatmapasaparray.prototype.maparray.prototype.tosortedarrifyasync-limiterastral-regexassign-symbolsasyncatobbabel-coreasync-retryavailable-typed-arraysbabel-jestbabel-plugin-polyfill-corejs2babel-plugin-jest-hoistbabel-plugin-istanbulast-typesbabel-plugin-polyfill-corejs3babel-preset-current-node-syntaxbabel-plugin-polyfill-regeneratorbabel-preset-fbjsbabel-plugin-syntax-trailing-function-commasbabel-preset-jestbalanced-matchbase64-jsbasebefore-after-hookbrace-expansionblbserbrowserslistbracesbufferboxenbuffer-fromcache-basecaller-callsitebytescacheable-lookupcall-bindcaller-pathcamelcasecallsitescamelcase-keyscacheable-requestcaniuse-litechardetci-infochar-regexcli-boxesclean-stackcjs-module-lexerclass-utilschalkcli-cursorclonecli-spinnerscliuicli-widthcolor-convertcocollection-visitclone-deepcolor-namecommand-existscolorettecommandercomponent-emittercommondircompare-funccompressibleconfig-chaincompressionconcat-mapconcat-streamcollect-v8-coverageconnectconventional-changelog-angularconventional-changelog-atomconventional-changelog-codemirrorconventional-changelog-emberconventional-changelogconventional-changelog-conventionalcommitsconfigstoreconventional-changelog-coreconventional-changelog-expressconventional-changelog-eslintconventional-changelog-preset-loaderconventional-changelog-jqueryconventional-changelog-jshintconvert-source-mapconventional-commits-filterconventional-changelog-writerconventional-commits-parserconventional-recommended-bumpcopy-descriptorcore-util-iscosmiconfigcore-js-compatcreate-requirecosmiconfig-typescript-loadercross-spawncsstypedargsdata-uri-to-bufferdateformatdayjsdecamelizedecode-uri-componentdecamelize-keyscrypto-random-stringdebugdeepmergedeep-isdedentdecompress-responsedefine-lazy-propdefaultsdefer-to-connectdefine-propertiesdeep-extenddegeneratordeldefine-propertydenodeifydeprecated-react-native-prop-typesdepddestroydetect-newlinedeprecationdoctrinedir-globdiff-sequenceselectron-to-chromiumdiffeastasianwidthdot-propemoji-regexee-firstend-of-streamencodeurlerror-exenvinfoerror-stack-parseres-array-method-boxes-properlyerrorhandleres-abstractes-to-primitivees-get-iteratores-set-tostringtages-shim-unscopablesescape-htmlescape-goatescaladeemitteryescodegenescape-string-regexpeslint-plugin-ft-floweslint-plugin-reacteslint-plugin-jesteslint-plugin-react-nativeeslint-plugin-react-native-globalseslint-plugin-eslint-commentseslint-utilseslint-scopeeslint-plugin-react-hooksespreeeslint-visitor-keysesqueryesprimaesrecurseetagesutilsestraverseexitexecaexpand-bracketsevent-target-shimexternal-editorextglobfast-deep-equalextend-shallowfast-difffast-json-stable-stringifyfast-levenshteinfast-globfast-xml-parserfastqfetch-blobfb-watchmanfill-rangefile-uri-to-pathfile-entry-cachefiguresexpectfind-cache-dirflat-cachefind-upflattedfinalhandlerfor-inform-data-encoderfragment-cacheflow-parserfreshformdata-polyfillfor-eachfs-extrafs.realpathfseventsfunction-bindfunction.prototype.namefunctions-have-namesgensyncget-caller-fileget-package-typeget-intrinsicget-streamget-symbol-descriptionget-pkg-repoftpget-valuegit-remote-origin-urlgit-semver-tagsgit-upgit-url-parsegit-raw-commitsglobget-urigitconfiglocalglob-parentglobbyglobalthisglobalsglobal-dirsgrapheme-splittergotgopdhandlebarsgraceful-fshas-property-descriptorshas-flaghas-bigintshashas-symbolshas-tostringtaghas-protohermes-estreehard-rejectionhas-valuehas-yarnhas-valueshtml-escaperhermes-parserhermes-profile-transformerhosted-git-infohttp-cache-semanticshttp-proxy-agenthttp-errorshttps-proxy-agenticonv-litehuman-signalsieee754ignoreimport-freshimage-sizeimport-lazyimport-localindent-stringimurmurhashinflighthttp2-wrapperinternal-slotinterpretinvariantiniinheritsipinquireris-arrayishis-absoluteis-array-bufferis-accessor-descriptoris-callableis-bigintis-boolean-objectis-bufferis-data-descriptoris-core-moduleis-ciis-date-objectis-descriptoris-dockeris-extendableis-directoryis-argumentsis-fullwidth-code-pointis-generator-fnis-extglobis-git-repositoryis-globis-interactiveis-installed-globallyis-negative-zerois-mapis-npmis-numberis-number-objectis-objis-plain-objis-path-cwdis-path-insideis-plain-objectis-relativeis-setis-regexis-shared-array-bufferis-sshis-stringis-symbolis-streamis-git-dirtyis-text-pathis-typedarrayis-unicode-supportedis-unc-pathis-yarn-globalis-weakrefis-wslis-windowsis-typed-arrayisexeisarrayistanbul-lib-coverageistanbul-lib-reportisobjectiterate-iteratoristanbul-lib-source-mapsistanbul-lib-instrumentiterate-valueistanbul-reportsjest-changed-filesjest-clijest-configjest-diffjest-get-typejest-environment-nodejest-docblockjest-circusjest-eachjest-haste-mapjest-message-utiljest-matcher-utilsjest-resolvejest-mockjest-pnp-resolverjest-regex-utiljest-resolve-dependenciesjest-leak-detectorjest-utiljest-runtimejest-snapshotjest-serializerjest-watcherjest-runnerjest-validatejoijest-workerjetifierjsc-androidjs-yamljs-tokensjs-sdsljson-parse-even-better-errorsjsescjson-bufferjscodeshiftjson-schema-traversejson-stable-stringify-without-jsonifyjson5json-parse-better-errorsjson-stringify-safejsonfilejsx-ast-utilskeyvkind-ofjsonparselevnkleurlatest-versionlevenlines-and-columnsload-json-filelodash.camelcaselocate-pathlodashlodash.isplainobjectlodash.ismatchlodash.debouncelodash.isfunctionlodash.mergelodash.throttlelodash.startcaselodash.snakecaselodash.mergewithlodash.kebabcaseloose-envifylodash.uniqlogkittylog-symbolslowercase-keyslru-cachemacos-releasemake-dirmap-objmakeerrormap-cachemake-errorlodash.upperfirstmeowmerge-streammetrometro-babel-transformermemoize-onemap-visitmerge2metro-configmetro-coremetro-file-mapmetro-hermes-compilermetro-inspector-proxymetro-minify-tersermetro-minify-uglifymetro-react-native-babel-presetmetro-resolvermetro-cachemetro-react-native-babel-transformermetro-cache-keymetro-runtimemetro-symbolicatemetro-source-mapmetro-transform-pluginsmimemetro-transform-workermicromatchmime-dbmimic-fnmin-indentmimic-responsemime-typesmkdirpmixin-deepminimist-optionsminimistmodify-valuesmsmute-streamminimatchnegotiatornanomatchnatural-compare-litenice-trynew-github-release-urlneo-asyncnatural-comparenocachenode-domexceptionnode-dirnode-fetchnode-int64netmasknormalize-package-datanode-stream-zipnode-releasesnormalize-urlnullthrowsnormalize-pathnpm-run-pathob1object-assignobject-copyobject-inspectobject-visitobject.fromentriesobject.hasownobject.entriesobject.assignobject.pickobject-keyson-headersonceon-finishedonetimeoptionatoropenoraos-nameobject.valuesos-tmpdirp-limitp-locatep-cancelablep-finallyp-tryp-mappackage-jsonpac-resolverpac-proxy-agentparse-urlparse-jsonparseurlpascalcaseparent-modulepath-is-absolutepath-keyparse-pathpath-existspath-typepath-parsepifypicocolorspiratespkg-dirpicomatchposix-character-classesprelude-lspretty-formatprocess-nextick-argspromisepromise.allsettledprettier-linter-helpersprotocolsproto-listpromptsproxy-agentpupapumppunycodeproxy-from-envquick-lrurange-parserqqueue-microtaskraw-bodyreact-isrcreact-devtools-coreprop-typesreact-refreshreact-shallow-rendererreact-native-codegenreact-native-gradle-pluginread-pkgreadlinereadable-streamrecastrechoirredentregenerate-unicode-propertiesregenerator-runtimeregenerateregexp.prototype.flagsregex-notread-pkg-upregenerator-transformregexpu-coreregjsparserregexppregistry-urlregistry-auth-tokenrequire-main-filenamerequire-directoryrepeat-stringrequire-from-stringresolve-alpnresolve-cwdresolveresolve-fromresolve-globalresponselikeresolve-urlresolve.exportsretreusifyretryrestore-cursorrepeat-elementsafe-bufferrun-asyncrun-parallelrxjsrimrafschedulersemversafer-buffersafe-regexsafe-regex-testsemver-diffserialize-errorsendset-blockingserve-staticset-valueshallow-cloneshebang-commandshell-quoteside-channelsisteransisetprototypeofshebang-regexshelljssignal-exitslice-ansisnapdragonslashsnapdragon-utilsmart-buffersnapdragon-nodesocks-proxy-agentsource-map-resolvesource-mapspdx-exceptionssockssource-map-supportsource-map-urlspdx-correctsplitspdx-license-idsspdx-expression-parsesplit-stringsprintf-jssplit2stacktrace-parserstatic-extendstackframestatusesstring-lengthstring-widthstring-natural-comparestop-iteration-iteratorstack-utilsstring.prototype.matchallstring.prototype.trimstartstring_decoderstring.prototype.trimendstrip-bomstrip-indentstrip-eofstrip-ansistrip-final-newlinestrip-json-commentssupports-preserve-symlinks-flagsupports-colorsupports-hyperlinkssudo-prompttest-excludetempterminal-linktersertext-extensionsthroughtext-tablethroattmpltmpto-fast-propertiesthrough2to-regexto-regex-rangeto-object-pathtoidentifierstrnumtrim-newlinests-nodetr46tslibtype-festtype-checktyped-array-lengthtype-detecttypedarray-to-bufferuglify-esuglify-jstypedarrayunbox-primitiveunicode-canonical-property-names-ecmascriptunicode-match-property-ecmascriptunc-path-regexunicode-property-aliases-ecmascriptunion-valueunique-stringtsutilsunicode-match-property-value-ecmascriptuniversalifyunpipeupdate-browserslist-dbunset-valueurixupdate-notifieruri-jsurl-joinuse-sync-external-storeutils-mergeutil-deprecateusev8-compile-cache-libv8-to-istanbulvalidate-npm-package-licensevaryuniversal-user-agentwalkerwcwidthweb-streams-polyfillwebidl-conversionswhatwg-urlvlqvm2which-modulewhich-typed-arraywhich-boxed-primitivewhichwhatwg-fetchwildcard-matchwidest-linewordwrapword-wrapwrap-ansiwrite-file-atomicwindows-releasewrappyxtendwsxdg-basedirxregexpy18nyallistyargsyargs-parseryamlynyocto-queue
0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago