Class KeycloakTokenVerifier


  • public class KeycloakTokenVerifier
    extends Object
    Class used for verifying token signature. It uses the realm public key from the application's configuration.
    • Constructor Detail

      • KeycloakTokenVerifier

        protected KeycloakTokenVerifier​(String realmPublicKey)
    • Method Detail

      • getPublicKey

        public PublicKey getPublicKey()
        Return the realm public key
        Returns:
        public key of the realm