Class NullJsonWebToken

java.lang.Object
io.smallrye.jwt.auth.cdi.NullJsonWebToken
All Implemented Interfaces:
Principal, org.eclipse.microprofile.jwt.JsonWebToken

public class NullJsonWebToken extends Object implements org.eclipse.microprofile.jwt.JsonWebToken
  • Constructor Details

    • NullJsonWebToken

      public NullJsonWebToken()
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface org.eclipse.microprofile.jwt.JsonWebToken
      Specified by:
      getName in interface Principal
    • getClaimNames

      public Set<String> getClaimNames()
      Specified by:
      getClaimNames in interface org.eclipse.microprofile.jwt.JsonWebToken
    • getClaim

      public <T> T getClaim(String claimName)
      Specified by:
      getClaim in interface org.eclipse.microprofile.jwt.JsonWebToken