
This method returns an authenticator object, for example: CredentialsLockAuthenticator.
The table below describes parameters of the authenticator method:
| Name | Description | Type | Use |
|---|---|---|---|
| type | A type of an authenticator, as defined in the Type enum. | integer |
required |
If the parameter passed to the method is either undefined or it is 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"