Package com.nimbusds.oauth2.sdk.util
Class JWTClaimsSetUtils
- java.lang.Object
-
- com.nimbusds.oauth2.sdk.util.JWTClaimsSetUtils
-
public final class JWTClaimsSetUtils extends Object
JSON Web Token (JWT) claims set utilities.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.nimbusds.jwt.JWTClaimsSet
toJWTClaimsSet(Map<String,List<String>> params)
Creates a JWT claims set from the specified multi-valued parameters.
-
-
-
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 benull
.- Returns:
- The JWT claims set.
-
-