Interface SignatureGeneratorConfiguration
- All Superinterfaces:
SignatureConfiguration
- All Known Implementing Classes:
ECSignatureGenerator
,RSASignatureGenerator
,SecretSignature
Signature Generator configuration.
- Since:
- 1.0
- Author:
- Sergio del Amo
-
Method Summary
Modifier and TypeMethodDescriptioncom.nimbusds.jwt.SignedJWT
sign
(com.nimbusds.jwt.JWTClaimsSet claims) Generate a signed JWT based on claims.Methods inherited from interface io.micronaut.security.token.jwt.signature.SignatureConfiguration
supportedAlgorithmsMessage, supports, verify
-
Method Details
-
sign
com.nimbusds.jwt.SignedJWT sign(com.nimbusds.jwt.JWTClaimsSet claims) throws com.nimbusds.jose.JOSEException Generate a signed JWT based on claims.- Parameters:
claims
- the provided claims- Returns:
- the signed JWT
- Throws:
com.nimbusds.jose.JOSEException
- could be thrown while signing the JWT token
-