Enables you to implement a mechanism to log the user into the Pega 7 Platform.
An instance of the PegaAuthenticator
object is created by calling the
authenticator
method.
Name | Description | Type | Use |
---|---|---|---|
loginActivity | The LoginActivityType enum that defines a login activity used for the selected Pega 7 Platform instance. | object |
optional |
url | A URL address of the Pega 7 Platform instance that you want to log the user into. You must set a URL for each authenticator instance. Once set, all three methods (logIn, logOff, isLoggedIn) will use the same URL and optionally loginActivity | string |
required |
Name | Description |
---|---|
logIn | Attempts to authenticate the user against the Pega 7 Platform instance. |
logOff | Logs the user out of the Pega 7 Platform instance. |
isLoggedIn | Verifies if the user is logged into the Pega 7 Platform instance. |