Determine if the current user is a OneBlink App User for a OneBlink Forms App. Returns false if the current user is not logged in.
false
const formsAppId = 1const isAuthorised = await authService.isAuthorised(formsAppId)if (!isAuthorised) { // handle unauthorised user} Copy
const formsAppId = 1const isAuthorised = await authService.isAuthorised(formsAppId)if (!isAuthorised) { // handle unauthorised user}
Optional
Determine if the current user is a OneBlink App User for a OneBlink Forms App. Returns
falseif the current user is not logged in.Example