Class AbstractToken

  • Direct Known Subclasses:
    Cp4dToken, IamToken, MCSPToken

    public abstract class AbstractToken
    extends java.lang.Object
    This class defines a common base class for tokens returned by a token server.
    • Constructor Detail

      • AbstractToken

        public AbstractToken()
      • AbstractToken

        public AbstractToken​(java.lang.Throwable t)
    • Method Detail

      • isTokenValid

        public abstract boolean isTokenValid()
      • needsRefresh

        public abstract boolean needsRefresh()
      • getAccessToken

        public abstract java.lang.String getAccessToken()
      • getException

        public java.lang.Throwable getException()
      • setException

        public void setException​(java.lang.Throwable exception)