-
<% if session["ClientCredential"].nil? %>
- 1.
Login
clientcredential_config = ClientCredentialConfiguration.new(config); connection = ADPApiConnectionFactory::createConnection(clientcredential_config) connection.connect();
<% end %>
<% if !session["ClientCredential"].nil? %>
- 1.
Logged in
clientcredential_config = ClientCredentialConfiguration.new(config); connection = ADPApiConnectionFactory::createConnection(clientcredential_config) connection.connect();
- 2.
Logout
connection.logout()
<% end %>