RadioTAG javascript client library
npm install radiotag.jsradiotag.js
===========
This project contains a javascript implementation of a RadioTAG client.
More information on RadioTAG: RadioDNS.org
RadioTAG is based on EBU-CPA
(EBU Cross-Platform Authentication) in order to authenticate tags.
A javascript library is available here: cpa.js
Bower is a package manager for the web.
> bower install radiotag.js
You can use RequireJS in order to include the cpa library.
> HTML:
> js/main.js
require.config({
baseUrl: 'js',
paths: {
'radiotag': '../bower_components/radiotag.js/dist/radiotag.min'
}
});
require(['radiotag'], function(radiotag) {
radiotag.getAuthProvider('http://tag.ebu.io/',
function(err, authProvider) {
console.log(err, authProvider.apBaseUrl, authProvider.modes);
});
});
You can use the RadioTag library directly in the HTML page:
The radiotag object is used to expose the library :
> npm install
> bower install
> grunt
Cross-Platform Authentication Javascript Library:
* CPA.js
This library has been developed alongside the EBU CPA Client Reference Implementation.
* CPA Client
* Chris Needham (BBC)
* Michael Barroco (EBU)
Copyright (c) 2014, EBU-UER Technology & Innovation
The code is under BSD (3-Clause) License. (see LICENSE.txt)