Previous Topic: Fetch CA Auth ID OTP DetailsNext Topic: Save Additional CA Auth ID OTP Attributes


Manage Additional CA Auth ID OTP Attributes

To set the CA Auth ID OTP information that cannot be passed by using the fields listed in CA Auth ID OTP Details, you need to use the setAttribute() method and pass that information as name-value pairs, and to read that information use getAttribute() method. The following table explains these methods:

Method

Description

setAttribute()

This method is used to set the CA Auth ID OTP information that cannot be passed by using the fields listed in CA Auth ID OTP Details. The additional information is passed as name-value pairs.

Input Parameters:

  • The name of the attribute. For example, if you want to display your organization copyright information along with the user details on the application, then you can set a new attribute called Copyright.

Output Parameters:

  • The value (in string format) that has to be set for the attribute.

getAttribute()

This method is used to read the value of CA Auth ID OTP attributes.

Input Parameters:

  • The name of the attribute, whose value has to be fetched.

Output Parameters:

  • Attribute value in string format.

getMinPINLength()

This method is used to get the minimum PIN length that must be used for the account.

getPINType()

This method is used to get the PIN type of the account. A_PINTYPE_ALPHA_NUMERIC and A_PINTYPE_NUMERIC are examples of the PIN types.