Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 929 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 929 Bytes

@dfinity/authentication

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.