CDP Frontend SDK
    Preparing search index...

    Function getAccessToken

    • Gets the access token for the current user.

      Returns Promise<null | string>

      The access token for the current user, or null if no user is signed in.

      const accessToken = await getAccessToken();