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 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 client application, then you can set a new attribute called Copyright.
  • 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.