Class ClaimValueWrapper<T>

java.lang.Object
io.smallrye.jwt.auth.cdi.ClaimValueWrapper<T>
Type Parameters:
T - the claim value type
All Implemented Interfaces:
Principal, org.eclipse.microprofile.jwt.ClaimValue<T>

public class ClaimValueWrapper<T> extends Object implements org.eclipse.microprofile.jwt.ClaimValue<T>
An implementation of the ClaimValue interface
  • Constructor Details

    • ClaimValueWrapper

      public ClaimValueWrapper(jakarta.enterprise.inject.spi.InjectionPoint ip, CommonJwtProducer producer)
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface org.eclipse.microprofile.jwt.ClaimValue<T>
      Specified by:
      getName in interface Principal
    • getValue

      public T getValue()
      Specified by:
      getValue in interface org.eclipse.microprofile.jwt.ClaimValue<T>
    • toString

      public String toString()
      Specified by:
      toString in interface Principal
      Overrides:
      toString in class Object