# ground-aws-cognito-auth-core

> Ground AWS Cognito Authentication Core

Latest version **1.0.13** (published 2019-10-24) · ISC license · 0 weekly downloads

## Install

```sh
npm install ground-aws-cognito-auth-core
pnpm add ground-aws-cognito-auth-core
yarn add ground-aws-cognito-auth-core
bun add ground-aws-cognito-auth-core
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; large bundle.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.13 |
| Published | 2019-10-24 |
| First published | 2019-10-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 16 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | HALLEM Mongi |
| Maintainers | mhallem |

## Links

- npm: https://www.npmjs.com/package/ground-aws-cognito-auth-core
- npm.io page: https://npm.io/package/ground-aws-cognito-auth-core

## Dependencies (6)

- [glob](https://npm.io/package/glob.md) ^7.1.4
- [easy-peasy](https://npm.io/package/easy-peasy.md) ^3.1.0
- [prop-types](https://npm.io/package/prop-types.md) ^15.7.2
- [@types/node](https://npm.io/package/@types/node.md) ^12.7.12
- [aws-amplify](https://npm.io/package/aws-amplify.md) ^1.2.2
- [amazon-cognito-identity-js](https://npm.io/package/amazon-cognito-identity-js.md) ^3.1.2

## Recent versions

- 1.0.13 (latest) — 2019-10-24
- 1.0.12 — 2019-10-24
- 1.0.11 — 2019-10-23
- 1.0.10 — 2019-10-23
- 1.0.9 — 2019-10-23
- 1.0.8 — 2019-10-23
- 1.0.7 — 2019-10-23
- 1.0.6 — 2019-10-23
- 1.0.5 — 2019-10-20
- 1.0.4 — 2019-10-20
- 1.0.3 — 2019-10-19
- 1.0.2 — 2019-10-19
- 1.0.1 — 2019-10-19

## README

<p>&nbsp;</p>
<p align='center'>Ground - AWS Cognito Authentication Core</p>
<p>&nbsp;</p>

```
npm install ground-aws-cognito-auth-core
```

**Step 1 - Import Ground Store Provider**

```javascript
import { GroundAuthProvider } from 'ground-aws-cognito-auth-core';
```

**Step 2 - Wrap your application**

```javascript
function App() {
  return (
    <GroundAuthProvider aws={awsmobile} mode={process.env.NODE_ENV}>
		  <SignUp />
	  </GroundAuthProvider>
  );
}
```

**Step 3 - Use the context store**

```javascript
import { GroundAuthContextStore } from 'ground-aws-cognito-auth-core'


function SignUp() {
  // signup
  const signUp = GroundAuthContextStore.useStoreActions(actions => actions.authentication.signUp)

  return (
    <SignUp onClick={signUp} />
  )
}
```

## Introduction

Ground AWS Cognito Authentication Core provides you the Store Provider and manage from you the state for your Ground React application with authenticating user using AWS Cognito.

## Documentation

---
_Source: https://npm.io/package/ground-aws-cognito-auth-core · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
