Class RequestAuthHandler

  • All Implemented Interfaces:
    java.lang.AutoCloseable, pro.gravit.launcher.NeedGarbageCollection, Reconfigurable

    public final class RequestAuthHandler
    extends CachedAuthHandler
    • Constructor Detail

      • RequestAuthHandler

        public RequestAuthHandler()
    • Method Detail

      • updateAuth

        protected boolean updateAuth​(java.util.UUID uuid,
                                     java.lang.String username,
                                     java.lang.String accessToken)
                              throws java.io.IOException
        Specified by:
        updateAuth in class CachedAuthHandler
        Throws:
        java.io.IOException
      • updateServerID

        protected boolean updateServerID​(java.util.UUID uuid,
                                         java.lang.String serverID)
                                  throws java.io.IOException
        Specified by:
        updateServerID in class CachedAuthHandler
        Throws:
        java.io.IOException
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in class AuthHandler