signOut()
Use nhost.auth.signOut to sign out the user.
nhost.auth.signOut()Parameters
Section titled “Parameters”params optional { all: boolean }
Examples
Section titled “Examples”Sign out the user from current device
Section titled “Sign out the user from current device”nhost.auth.signOut()Sign out the user from all devices
Section titled “Sign out the user from all devices”nhost.auth.signOut({ all: true })