Package org.pac4j.lagom.jwt
Class JwtGeneratorHelper
- java.lang.Object
-
- org.pac4j.lagom.jwt.JwtGeneratorHelper
-
public final class JwtGeneratorHelper extends Object
Helper for parsingJwtGenerator
from Lagom configuration.- Since:
- 2.2.1
- Author:
- Sergey Morgunov
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends CommonProfile>
JwtGenerator<T>parse(com.typesafe.config.Config conf)
ParseJwtGenerator
from Lagom conf.
-
-
-
Method Detail
-
parse
public static <T extends CommonProfile> JwtGenerator<T> parse(com.typesafe.config.Config conf) throws ParseException, com.nimbusds.jose.JOSEException
ParseJwtGenerator
from Lagom conf.- Parameters:
conf
- Configuration of authenticator- Returns:
- JWT authenticator
- Throws:
ParseException
- a parse exceptioncom.nimbusds.jose.JOSEException
- a signing/encryption exception
-
-