Skip to content

Instantly share code, notes, and snippets.

@multitel
Created July 17, 2015 22:13
Show Gist options
  • Save multitel/0a11b99d4b9fe22fac83 to your computer and use it in GitHub Desktop.
Save multitel/0a11b99d4b9fe22fac83 to your computer and use it in GitHub Desktop.
2Factor Authentication sample applet
<!DOCTYPE html>
<head>
<title>2Factor Authentication test</title>
<script type="text/javascript">
(function(d, script) {
script = d.createElement('script');
script.type = 'text/javascript';
script.async = true;
script.onload = function(){
// remote script has loaded
};
script.src = 'http://api.multitel.net/tfa/js/YOURTFAID/WHATEVERCUSTOMERID';
d.getElementsByTagName('head')[0].appendChild(script);
}(document));
</script>
</head>
<html>
<div id="multitel" width="100px">
</div>
</head>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment