Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

cfa_web_sdk

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cfa_web_sdk

SDK to verify the user authenticity.

latest
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

WebSDK

A JavaScript library to verify the authenticity of the user.

You can use it on images in the browser, either capture image using the device camera or from an image from file input element. This package can also be used in Android or iOS environments.

Prerequisites

Node should me installed on the user system to install this package.

Quick start

  • Install with NPM: npm install cfa_web_sdk.

Installation

Include files:

<link rel="icon" href="/path/to/favicon.ico" type="image/x-icon">
<script type="text/javascript" src="/path/to/webSDK.config.js"></script>
<script type="text/javascript" src="/path/to/webSDKClass.js"></script>
<link type="text/css" href="/path/to/style.css" rel="stylesheet">

Usage

Add the below line in the body of the HTML document to use the functionality of the webSDK.

<button class="cfa-btn" id="btnAuthenticate">Authenticate</button>

Then, modify the path of the image files in webSDK.config.js file according to the path of the img directory.

Keywords

document

FAQs

Package last updated on 01 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts