logout
The logout function will disconnect the user from your app and delete locally stored sessions (from localStorage
or equivalent).
How to use?
const res = await orbis.logout();
Parameters
None.
Returns
{
status: 200,
result: "Logged out from Orbis and Ceramic."
}