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 Type
    Method
    Description
    com.google.gson.JsonElement
    Returns 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

      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