Skip to content

Instantly share code, notes, and snippets.

@herrjemand
Created December 24, 2018 17:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save herrjemand/ce79982c287b83f8388b66190b058b51 to your computer and use it in GitHub Desktop.
Save herrjemand/ce79982c287b83f8388b66190b058b51 to your computer and use it in GitHub Desktop.
var passwordcred = new PasswordCredential({
'type': 'password',
'id': 'alice',
'password': 'VeryRandomPassword123456'
})
navigator.credentials.store(passwordcred)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment