implemented class pattern for OktaClient