signOut lets your users log out of your web app. This API will return a promise that gets resolved once the user has been logged out.
userbase.signOut()
.then(() => {
// user logged out
})
.catch((e) => console.error(e))
Errors
- UserNotSignedIn
- ServiceUnavailable