orbis.isConnected()
Checks if there are an active session stored in localStorage. If there is one it will automatically connect to Ceramic with it and allow users to write content without having to re-connect manually.
How to use?
let res = await orbis.isConnected();Returns
{
status: 200,
did: "did:pkh:..",
details: {
did: "did:pkh:..",
profile: {
pfp: "https://...",
username: "Baptiste",
description: "..."
}
},
result: "Success connecting to the DiD."
}Last updated