Class JWTClaimsSetUtils

    • Method Detail

      • toJWTClaimsSet

        public static com.nimbusds.jwt.JWTClaimsSet toJWTClaimsSet​(Map<String,​List<String>> params)
        Creates a JWT claims set from the specified multi-valued parameters. Single-valued parameters are mapped to a string claim. Multi-valued parameters are mapped to a string array claim.
        Parameters:
        params - The multi-valued parameters. Must not be null.
        Returns:
        The JWT claims set.