Validates an AuthSessionId and returns a DvelopUser.
import { validateAuthSessionId } from "@dvelop-sdk/identityprovider";
const user: DvelopUser = await validateAuthSessionId({
systemBaseUri: "https://monster-ag.d-velop.cloud",
authSessionId: "dQw4w9WgXcQ"
});
console.log(user.displayName) //Mike Glotzkowski
Validates an AuthSessionId and returns a DvelopUser.