JSON Web Token payload that contains the claims.
the token audience, e.g.
the time at which the token expires, in seconds since Unix epoch.
the time at which the token becomes valid, in seconds since Unix epoch.
the authenticated subject, e.g.
DivaoApiLoaded event fires when the Divao API is ready and attached to the window object.
window.addEventListener("DivaoApiLoaded", () => console.log("window.Divao can now be used"));
DivaoSignOn event fires when a user has signed on or signed out.
window.addEventListener("DivaoSignOn", () => console.log(Divao.JWT === null ? "user is not signed in" : "user is signed in"));