Set User Identification Information

How to set user identification information using DFINERY SDK. SDK integrationarrow-up-right must be done first.

Set up

User identification information can be set using DfineryProperties.setIdentitythe and methods. User identification information is defined in, and only defined values ​​can be used. DfineryProperties.setIdentities DFIdentity

circle-exclamation

User identification information

Name
Detail

DFIdentity.EXTERNAL_ID

User ID

DFIdentity.EMAIL

User's email

DFIdentity.PHONE_NO

User's phone number

DFIdentity.KAKAO_USER_ID

User's Kakao account ID

DFIdentity.LINE_USER_ID

User's Line account ID

Set by item

void setIdentity(DFIdentity identity, String value)
  • identity : User identification information key (using the DFIdentity constant)

  • value : User identification information value

DfineryProperties.setIdentity(DFIdentity.EXTERNAL_ID, "IDENTITY_VALUE");

Set multiple items at once

  • values : You must enter the type and value of user identification information in the form of java.util.Map<DFIdentity, String>. nullcannot be entered values.

circle-exclamation

Reset user identification information

You can remove and initialize any previously stored user identification information by calling the DfineryProperties.resetIdentity method.

triangle-exclamation

Learn more

If you need more details on user federation, see User Federation Scenariosarrow-up-right in Advanced Use Cases.

Last updated