Annotation Interface JWT


@Target({METHOD,TYPE}) @Retention(RUNTIME) @Documented public @interface JWT
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    If set, then the token extracted from the bearer token must have this issuer.
     
  • Element Details

    • validate

      JWT.JwtMethodMode[] validate
      Default:
      {UNSPECIFIED}
    • bearerTokenIssuer

      String[] bearerTokenIssuer
      If set, then the token extracted from the bearer token must have this issuer. This can be used in combination with the issuer field of configuration for JWT secrets, if there is at least one secret that has this issuer set, then only those secrets with that issuer set will be used for validating or signing this token, so you can be sure that the token did come from a particular issuer.`
      Default:
      {}