Class QuarkusJwtCallerPrincipal

  • All Implemented Interfaces:
    Principal, org.eclipse.microprofile.jwt.JsonWebToken

    public class QuarkusJwtCallerPrincipal
    extends io.smallrye.jwt.auth.principal.DefaultJWTCallerPrincipal
    An implementation of JWTCallerPrincipal that builds on the Elytron attributes
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.jose4j.jwt.JwtClaims getClaims()  
      String getName()  
      • Methods inherited from class io.smallrye.jwt.auth.principal.DefaultJWTCallerPrincipal

        doGetClaimNames, filterCustomClaimNames, getAudience, getClaimValue, getGroups, getRawToken, replaceClaimValueWithJsonValue
      • Methods inherited from class io.smallrye.jwt.auth.principal.JWTCallerPrincipal

        getClaim, getClaimNames, getClaimType, implies, toString, toString, wrapClaimValue
      • Methods inherited from interface org.eclipse.microprofile.jwt.JsonWebToken

        claim, claim, containsClaim, getClaim, getExpirationTime, getIssuedAtTime, getIssuer, getRawToken, getSubject, getTokenID
    • Constructor Detail

      • QuarkusJwtCallerPrincipal

        public QuarkusJwtCallerPrincipal​(String customPrincipalName,
                                         org.jose4j.jwt.JwtClaims claims)
    • Method Detail

      • getClaims

        public org.jose4j.jwt.JwtClaims getClaims()
      • getName

        public String getName()
        Specified by:
        getName in interface org.eclipse.microprofile.jwt.JsonWebToken
        Specified by:
        getName in interface Principal
        Overrides:
        getName in class io.smallrye.jwt.auth.principal.JWTCallerPrincipal