Use nhost.auth.signOut to sign out the user.

nhost.auth.signOut()

Parameters


params optional { all: boolean }


Examples

Sign out the user from current device

nhost.auth.signOut()

Sign out the user from all devices

nhost.auth.signOut({ all: true })