Get the Id Token used to make requests to the OneBlink API. This will return
undefined if the current user is not logged in.
Example
constidToken = awaitauthService.getIdToken() if (idToken) { awaitfetch(url, { headers: { Authorization:`Bearer ${idToken}`, }, }) } else { // Handle user not being logged in }
Get the Id Token used to make requests to the OneBlink API. This will return
undefinedif the current user is not logged in.Example