Interface JwtAccessKey
- All Superinterfaces:
JwtAuthorityKey
JWT key to encode access token.
- Author:
- Daniel Sagenschneider
-
Method Summary
Methods inherited from interface net.officefloor.web.jwt.authority.repository.JwtAuthorityKey
getExpireTime, getStartTime
-
Method Details
-
getPrivateKey
Key getPrivateKey()Obtains the privateKey.- Returns:
- Private
Keyto sign the JWT.
-
getPublicKey
Key getPublicKey()Obtains the public
Key.While not used for encoding, is kept together to enable
JwtAuthorityRepositoryto associate public/privateKeyinstances forJwtAccessKeytoJwtValidateKeyrelationships.- Returns:
- Public
Keyto validate the JWT.
-