npm.io
0.14.2 • Published 3 years ago

@dfinity/authentication

Licence
Apache-2.0
Version
0.14.2
Deps
1
Size
13 kB
Vulns
0
Weekly
0
DeprecatedThis package is deprecated

@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

Visit the Dfinity Forum and SDK Documentation for more information and support building on the Internet Computer.

Additional API Documentation can be found here.


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 and @dfinity/identity.