Interface JwtAccessKey

All Superinterfaces:
JwtAuthorityKey

public interface JwtAccessKey extends JwtAuthorityKey
JWT key to encode access token.
Author:
Daniel Sagenschneider
  • Method Details

    • getPrivateKey

      Key getPrivateKey()
      Obtains the private Key.
      Returns:
      Private Key to sign the JWT.
    • getPublicKey

      Key getPublicKey()

      Obtains the public Key.

      While not used for encoding, is kept together to enable JwtAuthorityRepository to associate public/private Key instances for JwtAccessKey to JwtValidateKey relationships.

      Returns:
      Public Key to validate the JWT.