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>
Adapts from
SignatureConfiguration
to ReactiveSignatureConfiguration
.- Since:
- 4.8.0
- Author:
- Sergio del Amo
-
Constructor Summary
ConstructorDescriptionNimbusReactiveSignatureConfigurationAdapter
(SignatureConfiguration signatureConfiguration) -
Method Summary
-
Constructor Details
-
NimbusReactiveSignatureConfigurationAdapter
-
-
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 interfaceReactiveSignatureConfiguration<com.nimbusds.jwt.SignedJWT>
- Parameters:
jwt
- the signed token- Returns:
- whether the signed token is verified
-