Top Deprecated
Keycloak 24.0.0

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
org.keycloak.RSATokenVerifier.checkActive(boolean checkActive)

Deprecated as a consequence of RSATokenVerifier being deprecated. See corresponding docs for further information.

org.keycloak.RSATokenVerifier.checkRealmUrl(boolean checkRealmUrl)

Deprecated as a consequence of RSATokenVerifier being deprecated. See corresponding docs for further information.

org.keycloak.RSATokenVerifier.checkTokenType(boolean checkTokenType)

Deprecated as a consequence of RSATokenVerifier being deprecated. See corresponding docs for further information.

org.keycloak.RSATokenVerifier.create(String tokenString)

Deprecated as a consequence of RSATokenVerifier being deprecated. See corresponding docs for further information.

org.keycloak.RSATokenVerifier.parse()

Deprecated as a consequence of RSATokenVerifier being deprecated. See corresponding docs for further information.

org.keycloak.RSATokenVerifier.publicKey(PublicKey publicKey)

Deprecated as a consequence of RSATokenVerifier being deprecated. See corresponding docs for further information.

org.keycloak.RSATokenVerifier.realmUrl(String realmUrl)

Deprecated as a consequence of RSATokenVerifier being deprecated. See corresponding docs for further information.

org.keycloak.RSATokenVerifier.verify()

Deprecated as a consequence of RSATokenVerifier being deprecated. See corresponding docs for further information.

Returns:

This token verifier
org.keycloak.TokenVerifier.checkActive
(boolean checkActive)

This method is here only for backward compatibility with previous version of TokenVerifier.

Returns:

This token verifier
org.keycloak.TokenVerifier.checkRealmUrl
(boolean checkRealmUrl)

This method is here only for backward compatibility with previous version of TokenVerifier.

Returns:

This token verifier
org.keycloak.TokenVerifier.checkTokenType
(boolean checkTokenType)

This method is here only for backward compatibility with previous version of TokenVerifier.

Returns:

This token verifier
org.keycloak.TokenVerifier.realmUrl
(String realmUrl)

This method is here only for backward compatibility with previous version of TokenVerifier.

org.keycloak.common.util.HttpPostRedirect

Class is deprecated and may be removed in the future. Use org.keycloak.saml.BaseSAML2BindingBuilder#buildHtml instead

org.keycloak.common.util.ServerCookie

Should not be used on the Keycloak server-side, or in extensions. Will be removed when no longer used by adapters

Returns:

String representation of the input stream contents decoded using default charset
org.keycloak.common.util.StreamUtil.readString
(InputStream
InputStream to build the String from
in
)

Use readString(java.io.InputStream, java.nio.charset.Charset) variant.

org.keycloak.jose.jws.Algorithm.ES256

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.Algorithm.ES384

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.Algorithm.ES512

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.Algorithm.Ed25519

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.Algorithm.Ed448

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.Algorithm.EdDSA

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.Algorithm.HS256

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.Algorithm.HS384

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.Algorithm.HS512

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.Algorithm.PS256

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.Algorithm.PS384

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.Algorithm.PS512

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.Algorithm.RS256

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.Algorithm.RS384

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.Algorithm.RS512

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.Algorithm.none

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.Algorithm.valueOf(String name)

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.Algorithm.values()

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.JWSBuilder.encode(Algorithm alg, byte[] data, StringBuilder encoding)

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.JWSHeader(Algorithm algorithm, String type, String contentType)

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.JWSHeader(Algorithm algorithm, String type, String keyId, JWK key)

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.JWSHeader.algorithm

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.JWSHeader.getAlgorithm()

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.crypto.HMACProvider.getJavaAlgorithm(Algorithm alg)

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.crypto.HMACProvider.getMAC(final Algorithm alg)

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.crypto.HMACProvider.sign(byte[] data, Algorithm algorithm, byte[] sharedSecret)

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.crypto.HMACProvider.sign(byte[] data, Algorithm algorithm, SecretKey key)

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.crypto.RSAProvider.getJavaAlgorithm(Algorithm alg)

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.crypto.RSAProvider.getSignature(Algorithm alg)

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.jose.jws.crypto.RSAProvider.sign(byte[] data, Algorithm algorithm, PrivateKey privateKey)

Deprecated as a consequence of Algorithm being deprecated. See corresponding docs for further information.

org.keycloak.representations.IDToken.getAuthTime()

int will overflow with values after 2038. Use getAuth_time() instead.

org.keycloak.representations.IDToken.setAuthTime(int authTime)

int will overflow with values after 2038. Use setAuth_time(Long) ()} instead.

org.keycloak.representations.JsonWebToken.expiration(int expiration)

int will overflow with values after 2038. Use exp(Long) instead.

org.keycloak.representations.JsonWebToken.getExpiration()

int will overflow with values after 2038. Use getExp() instead.

org.keycloak.representations.JsonWebToken.getIssuedAt()

int will overflow with values after 2038. Use getIat() instead.

org.keycloak.representations.JsonWebToken.getNotBefore()

int will overflow with values after 2038. Use getNbf() instead.

org.keycloak.representations.JsonWebToken.issuedAt(int issuedAt)

int will overflow with values after 2038. Use iat(Long) ()} instead.

org.keycloak.representations.JsonWebToken.notBefore(int notBefore)

int will overflow with values after 2038. Use nbf(Long) instead.

org.keycloak.representations.idm.IdentityProviderRepresentation.getUpdateProfileFirstLoginMode()

deprecated and replaced by configuration on IdpReviewProfileAuthenticator

org.keycloak.representations.idm.IdentityProviderRepresentation.isAuthenticateByDefault()

Replaced by configuration option in identity provider authenticator

org.keycloak.representations.idm.IdentityProviderRepresentation.setUpdateProfileFirstLoginMode(String updateProfileFirstLoginMode)

deprecated and replaced by configuration on IdpReviewProfileAuthenticator