001package com.nimbusds.openid.connect.provider.spi.tokens; 002 003 004import com.nimbusds.jose.JOSEObjectType; 005import com.nimbusds.jwt.JWTClaimsSet; 006 007 008/** 009 * JSON Web Token (JWT) encoder / decoder details. 010 */ 011public interface JWTDetails { 012 013 014 /** 015 * Returns the JWT "typ" (type) header value to use. 016 * 017 * @return The "typ" (type) header value, {@code null} if none. 018 */ 019 JOSEObjectType getType(); 020 021 022 /** 023 * Returns the JWT claims set. 024 * 025 * @return The JWT claims set. 026 */ 027 JWTClaimsSet getJWTClaimsSet(); 028}