# @dfinity/authentication

> JavaScript and TypeScript library to manage identity and authentication with the Internet Computer

Latest version **0.14.2** (published 2022-12-12) · Apache-2.0 license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @dfinity/authentication
pnpm add @dfinity/authentication
yarn add @dfinity/authentication
bun add @dfinity/authentication
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.14.2 |
| Published | 2022-12-12 |
| First published | 2021-01-26 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 12.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | DFINITY Stiftung |
| Maintainers | frederikrothenberger, bitdivine, ielashi, liadrit, dayyildiz, anthony_dfinity, eric-swanson-dfinity, krpeacock, terrorjack, npm-dfinity-org |

## Links

- npm: https://www.npmjs.com/package/@dfinity/authentication
- npm.io page: https://npm.io/package/@dfinity/authentication

## Dependencies (1)

- [@dfinity/identity](https://npm.io/package/@dfinity/identity.md) ^0.15.1

## Recent versions

- 0.14.2 (latest) — 2022-12-12
- 1.0.0-beta.0 (beta) — 2022-08-31
- 0.14.1 — 2022-11-07
- 0.14.0 — 2022-10-06
- 0.13.3 — 2022-09-09
- 0.13.2 — 2022-08-23
- 0.13.1 — 2022-08-12
- 0.13.0 — 2022-08-11
- 0.12.2 — 2022-07-28
- 0.12.2-beta.0 — 2022-07-22
- 0.12.1 — 2022-07-13
- 0.12.1-beta.0 — 2022-07-05
- 0.12.0 — 2022-06-29
- 0.11.3 — 2022-06-03
- 0.11.2 — 2022-05-19
- … 49 more at https://npm.io/package/@dfinity/authentication/versions

## README

# @dfinity/authentication

**Warning**
this package is deprecated

JavaScript and TypeScript library to support manage Identities and enable simple Web Authentication flows for applications on the [Internet Computer](https://dfinity.org/)

Visit the [Dfinity Forum](https://forum.dfinity.org/) and [SDK Documentation](https://sdk.dfinity.org/docs/index.html) for more information and support building on the Internet Computer.

Additional API Documentation can be found [here](https://agent-js.icp.xyz/authentication/index.html).

---

## Installation

Using authentication:

```
npm i --save @dfinity/authentication
```

### In the browser:

```
import * as auth from "@dfinity/authentication";
```

or using individual exports:

```
import { createAuthenticationRequestUrl } from "@dfinity/authentication";
```

Note: depends on [@dfinity/agent](https://www.npmjs.com/package/@dfinity/agent) and
[@dfinity/identity](https://www.npmjs.com/package/@dfinity/identity).

---
_Source: https://npm.io/package/@dfinity/authentication · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
