This method returns an authenticator object, for example: CredentialsLockAuthenticator or PegaAuthenticator.
The table below describes the authenticator
method parameters.
Name | Description | Type | Use |
---|---|---|---|
type | The type of an authenticator, as defined in the Type enum. | integer |
required |
If the parameter passed to the method is either undefined or null, the method returns the following error message:
"Authentication: Parameter type is not specified".
If the parameter passed as type
parameter is not defined by the
Type enum, the method
returns an error message:
"Authentication: Invalid type parameter:'" + type + "'. " + "Supported types:
Authentication.Type.CREDENTIALS_LOCK, Authentication.Type.PEGA_AUTHENTICATOR"