authenticator


Purpose

Creates an authenticator object of a requested type.

Signature

authenticator( type )

Returns

This method returns an authenticator object, for example: CredentialsLockAuthenticator.

Parameter

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

Error messages

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.FINGERPRINT_AUTHENTICATOR, Authentication.Type.PEGA_AUTHENTICATOR"

Related topics

Authentication
Legal notice | Copyright © 2017 and Confidential to Pegasystems Inc. All rights reserved
PDN | Pega Mobile Client | Feedback
Advanced...