@gemcook/auth

2.1.4 • Public • Published

@gemcook/auth

Getting Start

Install

yarn add @gemcook/auth

Import

import {
  initAmplify,
  checkSession,
  signUp,
  confirmSignUp,
  signIn,
  signOut,
  changePassword,
  forgotPassword,
  confirmForgotPassword,
  getIdToken,
  getUserClaim,
  registeSNSUser,
  signInSNS,
  errorMessages,
  updateAttributes,
  resendSignUp,
} from '@gemcook/auth';

Usage

initAmplify

import {initAmplify} from '@gemcook/auth';

initAmplify(
  env.COGNITO_REGION,
  env.COGNITO_USER_POOL_ID,
  env.COGNITO_CLIENT_ID
);

Contributing

Install

yarn

Build

make build

License

MIT

/@gemcook/auth/

    Package Sidebar

    Install

    npm i @gemcook/auth

    Weekly Downloads

    42

    Version

    2.1.4

    License

    MIT

    Unpacked Size

    199 kB

    Total Files

    6

    Last publish

    Collaborators

    • tfrcm
    • k.okayama
    • s.nishimura
    • gcshiro