Interface SignatureGeneratorConfiguration

All Superinterfaces:
SignatureConfiguration
All Known Implementing Classes:
ECSignatureGenerator, RSASignatureGenerator, SecretSignature

public interface SignatureGeneratorConfiguration extends SignatureConfiguration
Signature Generator configuration.
Since:
1.0
Author:
Sergio del Amo
  • Method Summary

    Modifier and Type
    Method
    Description
    com.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