Class StdProtectHandler
java.lang.Object
pro.gravit.launchserver.auth.protect.ProtectHandler
pro.gravit.launchserver.auth.protect.StdProtectHandler
- All Implemented Interfaces:
ProfilesProtectHandler
- Direct Known Subclasses:
AdvancedProtectHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class pro.gravit.launchserver.auth.protect.ProtectHandler
providers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallowGetAccessToken(AuthResponse.AuthContext context)booleancanChangeProfile(pro.gravit.launcher.profiles.ClientProfile profile, Client client)booleancanGetProfile(pro.gravit.launcher.profiles.ClientProfile profile, Client client)booleancanGetUpdates(String updatesDirName, Client client)voidbooleanisWhitelisted(String profileTitle, String username)Methods inherited from class pro.gravit.launchserver.auth.protect.ProtectHandler
close, init, registerHandlersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface pro.gravit.launchserver.auth.protect.interfaces.ProfilesProtectHandler
canGetProfiles
-
Field Details
-
profileWhitelist
-
allowUpdates
-
-
Constructor Details
-
StdProtectHandler
public StdProtectHandler()
-
-
Method Details
-
allowGetAccessToken
- Specified by:
allowGetAccessTokenin classProtectHandler
-
checkLaunchServerLicense
public void checkLaunchServerLicense()- Specified by:
checkLaunchServerLicensein classProtectHandler
-
canGetProfile
- Specified by:
canGetProfilein interfaceProfilesProtectHandler
-
canChangeProfile
- Specified by:
canChangeProfilein interfaceProfilesProtectHandler
-
canGetUpdates
- Specified by:
canGetUpdatesin interfaceProfilesProtectHandler
-
isWhitelisted
-