001package com.nimbusds.jwt; 002 003 004/** 005 * Generic JWT claims set type transformer. Implementations should be 006 * tread-safe. 007 */ 008public interface JWTClaimsSetTransformer<T> { 009 010 011 /** 012 * Transforms the specified JWT claims set into the desired type. 013 * 014 * @param claimsSet The JWT claims set. Not {@code null}. 015 * 016 * @return The desired type. 017 */ 018 T transform(final JWTClaimsSet claimsSet); 019}