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 to
DoipClient.-
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.JsonElementReturns the authentication property to be supplied with the initial segment of DOIP requests.Returns the clientId to be supplied with the initial segment of DOIP requests.
-
Method Details
-
getClientId
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
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
-