Package net.dona.doip.client
Interface AuthenticationInfo
-
- All Known Implementing Classes:
PasswordAuthenticationInfo,PrivateKeyAuthenticationInfo,TokenAuthenticationInfo
public interface AuthenticationInfoAn interface for classes which provide authentication information toDoipClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.gson.JsonElementgetAuthentication()Returns the authentication property to be supplied with the initial segment of DOIP requests.java.lang.StringgetClientId()Returns the clientId to be supplied with the initial segment of DOIP requests.
-
-
-
Method Detail
-
getClientId
java.lang.String getClientId()
Returns the clientId to be supplied with the initial segment of DOIP requests.- Returns:
- the clientId to be supplied with the initial segment of DOIP requests
-
getAuthentication
com.google.gson.JsonElement getAuthentication() throws DoipExceptionReturns the authentication property to be supplied with the initial segment of DOIP requests.- Returns:
- the authentication property to be supplied with the initial segment of DOIP requests
- Throws:
DoipException
-
-