Class AuthenticationData

  • java.lang.Object
    • com.here.sdk.core.AuthenticationData

  • public final class AuthenticationData
    extends java.lang.Object

    Authentication data

    • Field Summary

      Fields 
      Modifier and Type Field Description
      Duration expiryTime
      Expiration time in seconds as epoch time.
      java.lang.String token
      Secure token to be used with other HERE services.
    • Constructor Summary

      Constructors 
      Constructor Description
      AuthenticationData()
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • token

        @NonNull
        public java.lang.String token

        Secure token to be used with other HERE services. Note that the HERE SDK itself does not require the use of tokens. Defaults to an empty string.

      • expiryTime

        @NonNull
        public Duration expiryTime

        Expiration time in seconds as epoch time. Defaults to 0 seconds.

    • Constructor Detail

      • AuthenticationData

        public AuthenticationData()

        Creates a new instance.

    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object