silverwolf-x's picture
download
raw
315 Bytes
export default async function getUser(token: string) {
const response = await fetch(
`https://${process.env.NEXT_PUBLIC_AUTH0_DOMAIN}/userinfo`,
{
headers: {
Authorization: `Bearer ${token}`,
"Content-Type": "application/json",
},
},
);
return await response.json();
}

Xet Storage Details

Size:
315 Bytes
·
Xet hash:
323c6b03b2ee0b0cf72b7e536f0b4428b683865cda388c3cb55f7f00bae60b77

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