Interface IJWTInformation


public interface IJWTInformation
Token Information
Author:
Phillip Austerfield
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Allow general administration/server administration
    boolean
    Allow configuration update
    boolean
    Allow translation requests
    boolean
    Allow history access
    @org.jetbrains.annotations.NotNull boolean
    getBoolean(@NotNull String sProperty, boolean bDefault)
    Get JWT value
    @NotNull String
    getString(@NotNull String sProperty)
    Get JWT value
    @NotNull String
    Get the user associated with this token
  • Method Details

    • getSubject

      @NotNull @NotNull String 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

      @NotNull @NotNull String getString(@NotNull @NotNull String sProperty)
      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 - Property
      bDefault - Value, if property does not exist
      Returns: