Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Spomky/jquery.unitoken

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jQuery Unitoken Plugin

This jQuery plugin aims to ease the use of Secutech UniToken devices. For details of these devices, see https://www.esecutech.com/.

Preamble

This module is only available for Mozilla Firefox browsers. Secutech does not provides any plugins to handle UniTokens with a Javascript API under other browsers.

This jQuery plugin has only been tested with an UnitToken Pro.

It needs jQuery version 2.

How to use it

First, ensure that the plugin for Firefox is installed. See [docs/install plugin.md](docs/install plugin.md) if necessary.

Next, just create an HTML page that includes jQuery, this plugin and an embed object that contains the plugin.

<!DOCTYPE html>
<html>
    <head>
        <script type="text/javascript" src="jquery.min.js"></script>
        <script type="text/javascript" src="unitoken.jquery.min.js"></script>
    </head>
    <body>
        <embed id="interface" class="interface" type="application/mozilla-npsecuunitoken-scriptable-plugin" />
		<script type="text/javascript">
			$(function(){
			    var $my_interface = $('#interface').unitoken();
			});
		</script>
    </body>
</html>

And voila! You are ready to access on your token.

Look at the « docs » folder to get details about usefull methods. You will learn how to use all methods and how to use callbacks called on events.

About

A jQuery plugin to ease the use of eSecutech UniToken devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published