hoodiehq / hoodie-account-client

:dog: Account client API for the browser
https://hoodiehq.github.io/hoodie-account-client
Apache License 2.0
11 stars 24 forks source link

account.signOut() does not resolve with account properties #50

Closed gr2m closed 8 years ago

gr2m commented 8 years ago

This is what we want

// given user is signed in as "pat"
account.signOut()

.then(function (properties) {
  properties.username // should be "pat"
})

Ping us in the Hoodie Chat or on Twitter if you have any questions

mxstbr commented 8 years ago

Would love to take a crack at this!

gr2m commented 8 years ago

All yours :+1: