Class NimbusReactiveSignatureConfigurationAdapter

java.lang.Object
io.micronaut.security.token.jwt.nimbus.NimbusReactiveSignatureConfigurationAdapter
All Implemented Interfaces:
ReactiveSignatureConfiguration<com.nimbusds.jwt.SignedJWT>

public class NimbusReactiveSignatureConfigurationAdapter extends Object implements ReactiveSignatureConfiguration<com.nimbusds.jwt.SignedJWT>
Since:
4.8.0
Author:
Sergio del Amo
  • Constructor Details

    • NimbusReactiveSignatureConfigurationAdapter

      public NimbusReactiveSignatureConfigurationAdapter(SignatureConfiguration signatureConfiguration)
  • Method Details

    • verify

      @SingleResult @NonNull public @NonNull org.reactivestreams.Publisher<Boolean> verify(@NonNull @NonNull com.nimbusds.jwt.SignedJWT jwt)
      Description copied from interface: ReactiveSignatureConfiguration
      Verify a signed token.
      Specified by:
      verify in interface ReactiveSignatureConfiguration<com.nimbusds.jwt.SignedJWT>
      Parameters:
      jwt - the signed token
      Returns:
      whether the signed token is verified