@cpod/sdk - v0.2.7
    Preparing search index...

    Function getSession

    • Get current session information including user details and token expiry

      Returns Promise<Session>

      Session object with user info and token metadata

      401 - Not authenticated

      import { getSession } from "@cpod/sdk";

      const session = await getSession();
      console.log(session.user.email);