Package net.dona.doip.client
Interface AuthenticationInfo
-
- All Known Implementing Classes:
PasswordAuthenticationInfo
,PrivateKeyAuthenticationInfo
,TokenAuthenticationInfo
public interface AuthenticationInfo
An interface for classes which provide authentication information toDoipClient
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.gson.JsonElement
getAuthentication()
Returns the authentication property to be supplied with the initial segment of DOIP requests.java.lang.String
getClientId()
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 DoipException
Returns 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
-
-