Step 5. Load an Existing Member

To obtain the member object for an existing member, you'll need a Token client, the member ID of the member, and the member's keys. Be sure to add the member's keys to your SDK's keystore before making a call to get the member object.

Note: Most newly created member data, such as public keys, are stored in the Token cloud. Private keys are stored locally.

Here's how to load an existing member with an already-stored private key:

// use already stored private key

return tokenClient.getMemberBlocking(memberId)

The relevant API reference is TokenClient.getMember.