download
raw
236 Bytes
import { decodeJWT } from "@oslojs/jwt";
export function decodeIdToken(idToken) {
try {
return decodeJWT(idToken);
}
catch (e) {
throw new Error("Invalid ID token", {
cause: e
});
}
}

Xet Storage Details

Size:
236 Bytes
·
Xet hash:
ee7faf6b83ccda46486b917cef9492de6cb399534e732e10d049d5cd08851add

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.