Package org.geysermc.geyser.text
Class AsteriskSerializer
java.lang.Object
org.geysermc.geyser.text.AsteriskSerializer
- All Implemented Interfaces:
com.google.gson.JsonSerializer<String>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfacestatic @interface -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic org.spongepowered.configurate.objectmapping.meta.Processor.Factory<AsteriskSerializer.Secret, String> Censors a value that is never safe to publish, such as a token or a password.static org.spongepowered.configurate.objectmapping.meta.Processor.Factory<AsteriskSerializer.Asterisk, String> static final String[]static boolean -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NON_SENSITIVE_ADDRESSES
-
showSensitive
public static boolean showSensitive -
CONFIGURATE_SERIALIZER
public static org.spongepowered.configurate.objectmapping.meta.Processor.Factory<AsteriskSerializer.Asterisk,String> CONFIGURATE_SERIALIZER -
CONFIGURATE_SECRET
public static org.spongepowered.configurate.objectmapping.meta.Processor.Factory<AsteriskSerializer.Secret,String> CONFIGURATE_SECRETCensors a value that is never safe to publish, such as a token or a password.Unlike
AsteriskSerializer.Asteriskthis ignoresshowSensitive, so a full dump censors it too: a dump is routinely posted to a public paste, and a reader helping with support has no use for the secret itself. An empty value is left alone so that "not configured" stays visible.
-
-
Constructor Details
-
AsteriskSerializer
public AsteriskSerializer()
-
-
Method Details