Last active
December 24, 2018 17:57
-
-
Save yackermann/7e237918bf508cc29ca4e7872d4c6cda 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
navigator.credentials.get({ 'password': true }) | |
.then((credential) => { | |
if(!credential) | |
throw new Error('No credential found') | |
// sendServer(credential) // PasswordCredential {iconURL: "", name: "", password: "VeryRandomPassword123456", id: "alice", type: "password"} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment