Skip to content

Instantly share code, notes, and snippets.

@multitel
Created December 9, 2015 16:49
Show Gist options
  • Save multitel/502e6221f492f1bc1445 to your computer and use it in GitHub Desktop.
Save multitel/502e6221f492f1bc1445 to your computer and use it in GitHub Desktop.
2FA ( 2 Factor Authentication) sample applet (Inline)
<!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/WHATEVERID/WHATEVERCUSTOMER';
d.getElementsByTagName('head')[0].appendChild(script);
}(document));
</script>
</head>
<html>
<body>
<div id="multitel" width="100px"></div>
<body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment