Class JwtVerifier
java.lang.Object
org.frankframework.management.security.JwtVerifier
-
Constructor Summary
ConstructorsConstructorDescriptionJwtVerifier(byte[] secret) Validate the target JWT with a provided SECRET.JwtVerifier(URL url) JwtVerifier(Supplier<String> supply) -
Method Summary
-
Constructor Details
-
JwtVerifier
-
JwtVerifier
public JwtVerifier(byte[] secret) Validate the target JWT with a provided SECRET. -
JwtVerifier
- Throws:
com.nimbusds.jose.KeySourceException
-
-
Method Details
-
verify
public final @NonNull org.springframework.security.core.Authentication verify(String jwt) throws IOException Validate and convert the given JWT to a SpringAuthenticaitonobject.- Throws:
IOException
-