refactored connection classes to be more generic and accept credentials of different apps.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package com.vaessl.app.connection;
|
||||
|
||||
import com.vaessl.app.dto.ConnectionRequest;
|
||||
import com.vaessl.app.dto.ConnectionResponse;
|
||||
|
||||
public interface ConnectionProvider {
|
||||
|
||||
String getServiceType();
|
||||
|
||||
ConnectionResponse authenticate (ConnectionRequest connectionRequest);
|
||||
}
|
||||
Reference in New Issue
Block a user