Skip to content

PKI TKS Java API

Endi S. Dewata edited this page Dec 17, 2020 · 1 revision

PKI TKS Java API

To create a TKS session:

TKSClient tksClient = new TKSClient(client);
AccountInfo accountInfo = tksClient.login();

The AccountInfo contains information about the subsystem user (e.g. user ID, full name, email, roles).

To remove the session:

tksClient.logout();

See also TKSClient.java.

Clone this wiki locally