Interface IJWTInformation
public interface IJWTInformation
Token Information
- Author:
- Phillip Austerfield
-
Method Summary
Modifier and TypeMethodDescriptionbooleanAllow general administration/server administrationbooleanAllow configuration updatebooleanAllow translation requestsbooleanAllow history access@org.jetbrains.annotations.NotNull booleangetBoolean(@NotNull String sProperty, boolean bDefault) Get JWT value@NotNull StringGet JWT value@NotNull StringGet the user associated with this token
-
Method Details
-
getSubject
Get the user associated with this token- Returns:
-
canConfigure
boolean canConfigure()Allow configuration update- Returns:
-
canTranslate
boolean canTranslate()Allow translation requests- Returns:
-
canAdminister
boolean canAdminister()Allow general administration/server administration- Returns:
-
canViewHistory
boolean canViewHistory()Allow history access- Returns:
-
getString
Get JWT value- Parameters:
sProperty-- Returns:
-
getBoolean
@NotNull @org.jetbrains.annotations.NotNull boolean getBoolean(@NotNull @NotNull String sProperty, boolean bDefault) Get JWT value- Parameters:
sProperty- PropertybDefault- Value, if property does not exist- Returns:
-