Basic non-SSO client authentication.
TRIRIGA username
TRIRIGA password
true
if the login was successful and false
if login failed.
This method is only supported on non-SSO instances. On succesful login, the application will set up the current user context, cookie and csrf token for future API calls. To use this method with an SSO environment, please utilize a non-SSO proc server.
Simple 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.
Used with frontend frameworks to redirect the user to the login URL. Once authenticated, they will return to their previous page. This flow is also supported by SSO-enabled environments.
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.
This method is used to append the required cookie and useCredentials values to the request options.
Retrieves the logged in user details.
A User
object with the current user's basic profile details and preferences.
Basic profile details are provided with the User
object.
Error if the user details could not be retrieved. The Error object will include details about the error.
Generated using TypeDoc
Platform 3.8+. The default class for managing the user session.