com.nimbusds.openid.connect.provider.spi.tokens.JWTDetails Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of c2id-server-sdk Show documentation
Show all versions of c2id-server-sdk Show documentation
SDK for Connect2id Server extensions, such as OpenID Connect claims
sources and OAuth 2.0 grant handlers
package com.nimbusds.openid.connect.provider.spi.tokens;
import org.checkerframework.checker.nullness.qual.Nullable;
import com.nimbusds.jose.JOSEObjectType;
import com.nimbusds.jwt.JWTClaimsSet;
/**
* JSON Web Token (JWT) encoder / decoder details.
*/
public interface JWTDetails {
/**
* Returns the JWT "typ" (type) header value to use.
*
* @return The "typ" (type) header value, {@code null} if none.
*/
@Nullable JOSEObjectType getType();
/**
* Returns the JWT claims set.
*
* @return The JWT claims set.
*/
JWTClaimsSet getJWTClaimsSet();
}