Enables you to implement mechanisms to block access to an app and to log the user into the Pega Platform.
You can obtain an instance of the object by using the
window.launchbox.Authentication
reference.
Name | Description | Type |
---|---|---|
Type | The Type enum that defines available authentication types. | object |
The table below lists all constants of the Authentication
object
that are used as failure codes.
Name | Description |
---|---|
window.launchbox.Authentication.InvalidCredentialsError | Denotes that the credentials provided by the user are invalid. |
window.launchbox.Authentication.EntryAlreadyExistsError | Denotes that an entry already exists for the provided credentials. |
window.launchbox.Authentication.EntryDoesNotExistError | Denotes that an entry does not exist for the provided credentials. |
window.launchbox.Authentication.InternalError | Denotes that an internal error has occurred. |
window.launchbox.Authentication.InvalidInputDataError | Denotes that the data provided is invalid. |
window.launchbox.Authentication.NetworkError | Denotes that a network error has occurred. |
window.launchbox.Authentication.UnexpectedServerResponseError | Denotes that the server has returned an unexpected response. |
window.launchbox.Authentication.WrongClientVersionError | Denotes that Pega Mobile Client is in a version that is not supported by the Pega Platform. |
window.launchbox.Authentication.AccountLockedError | Denotes that the user account associated with the credentials has been locked. |
window.launchbox.Authentication.FingerprintUnavailableError | Denotes that the fingerprint recognition hardware is not present in the device. |
window.launchbox.Authentication.FingerprintFailedError | Denotes that the fingerprint recognition process has failed. |
window.launchbox.Authentication.FingerprintCancelledError | Denotes that the fingerprint recognition processhas been cancelled. |
Name | Description |
---|---|
authenticator | Creates an authenticator object of a requested type. |