public final class JwtAccessTokenUtils extends Object
Modifier and Type | Method and Description |
---|---|
static JwtToken |
decryptFromAccessToken(String tokenId,
JweDecryptionProvider jweDecryption) |
static JwtToken |
decryptFromfromAccessToken(String tokenId,
SecretKey key) |
static ServerAccessToken |
encryptToAccessToken(JwtToken jwt,
Client client,
JweEncryptionProvider jweEncryption) |
static ServerAccessToken |
encryptToAccessToken(JwtToken jwt,
Client client,
SecretKey key) |
static ServerAccessToken |
signToAccessToken(JwtToken jwt,
Client client,
JwsSignatureProvider jws) |
static ServerAccessToken |
signToAccessToken(JwtToken jwt,
Client client,
RSAPrivateKey key) |
static void |
validateJwtClaims(JwtClaims claims,
Client c) |
static JwtToken |
verifyAccessToken(String tokenId,
JwsSignatureVerifier jws) |
static JwtToken |
verifyAccessToken(String tokenId,
RSAPublicKey key) |
public static ServerAccessToken encryptToAccessToken(JwtToken jwt, Client client, SecretKey key)
public static ServerAccessToken encryptToAccessToken(JwtToken jwt, Client client, JweEncryptionProvider jweEncryption)
public static JwtToken decryptFromfromAccessToken(String tokenId, SecretKey key)
public static JwtToken decryptFromAccessToken(String tokenId, JweDecryptionProvider jweDecryption)
public static ServerAccessToken signToAccessToken(JwtToken jwt, Client client, RSAPrivateKey key)
public static ServerAccessToken signToAccessToken(JwtToken jwt, Client client, JwsSignatureProvider jws)
public static JwtToken verifyAccessToken(String tokenId, RSAPublicKey key)
public static JwtToken verifyAccessToken(String tokenId, JwsSignatureVerifier jws)
Apache CXF