Class ProfileProvider

java.lang.Object
pro.gravit.launchserver.auth.profiles.ProfileProvider
Direct Known Subclasses:
LocalProfileProvider

public abstract class ProfileProvider extends Object
  • Field Details

    • providers

      public static final pro.gravit.utils.ProviderMap<ProfileProvider> providers
    • server

      protected transient LaunchServer server
  • Constructor Details

    • ProfileProvider

      public ProfileProvider()
  • Method Details

    • registerProviders

      public static void registerProviders()
    • init

      public void init(LaunchServer server)
    • sync

      public abstract void sync() throws IOException
      Throws:
      IOException
    • getProfiles

      public abstract Set<pro.gravit.launcher.base.profiles.ClientProfile> getProfiles()
    • addProfile

      public abstract void addProfile(pro.gravit.launcher.base.profiles.ClientProfile profile) throws IOException
      Throws:
      IOException
    • deleteProfile

      public abstract void deleteProfile(pro.gravit.launcher.base.profiles.ClientProfile profile) throws IOException
      Throws:
      IOException
    • close

      public void close()
    • getProfile

      public pro.gravit.launcher.base.profiles.ClientProfile getProfile(UUID uuid)
    • getProfile

      public pro.gravit.launcher.base.profiles.ClientProfile getProfile(String title)
    • getProfiles

      public List<pro.gravit.launcher.base.profiles.ClientProfile> getProfiles(Client client)