Class TokenVerifier
java.lang.Object
com.networknt.aws.lambda.handler.middleware.security.TokenVerifier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetJwkConfig(com.networknt.client.ClientConfig clientConfig, String serviceId) static StringgetTokenFromAuthorization(String authorization) Parse the jwt or swt token from Authorization header.
-
Constructor Details
-
TokenVerifier
public TokenVerifier()
-
-
Method Details
-
getJwkConfig
-
getTokenFromAuthorization
Parse the jwt or swt token from Authorization header.- Parameters:
authorization- authorization header.- Returns:
- JWT or SWT token
-