Optional
csrfOptional
currentOptional
permissionsOptional
sessionSimple method for generating a redirect URL for the frontend.
The page that the user should be redirected to after a successful authentication.
The full URL that the user should be redirected for reauthentication.
A helper method for building the basic request options object.
Optional
additionalOptions: RequestInitCustom request options from the caller.
A RequestInit
object with the required headers and user specified options.
Retrieves the logged in user details.
A User
object with the current user's basic profile details and preferences.
This method is used to retrieve the permissions for the current user.
Permission object containing the user's permissions against the application.
A simple method to check if the user has permission to perform a specific action. All inputs are case-sensitive.
Action group name
Action name
Data source path (e.g. "reservations" or "buildings/floors/spaces")
A boolean indicating whether the user has permission to perform the action.
Basic non-SSO client authentication.
TRIRIGA username
TRIRIGA password
true
if the login was successful and false
if login failed.
Platform 3.8+. The default class for managing the user session.