Class PostgreSQLAuthHandler

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

    public final class PostgreSQLAuthHandler
    extends CachedAuthHandler
    • Constructor Detail

      • PostgreSQLAuthHandler

        public PostgreSQLAuthHandler()
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in class AuthHandler
      • 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