Created
November 21, 2016 21:54
-
-
Save anonymous/36a453e8d68498561b247dac4a0fe14e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>NFS EXAMPLES</title> | |
<script> | |
function authorize() { | |
import * as safejs from '../../src'; | |
const app = | |
{ | |
name: "SUCCESS!!!!!!!", | |
id: "id", | |
version: "0.0.0.0.0.0.0.0.1", | |
vendor: "SUCCESSFULMAN!!!", | |
permissions: ["SAFE_DRIVE_ACCESS"] | |
}; | |
safejs.auth.authorise(app); | |
}; | |
</script> | |
</head> | |
<body bgcolor="black"><center> | |
<button onClick="authorize()">Click to Authenticate!!</button><br> | |
</body></center> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment