Class JwtGeneratorHelper


  • public final class JwtGeneratorHelper
    extends Object
    Helper for parsing JwtGenerator from Lagom configuration.
    Since:
    2.2.1
    Author:
    Sergey Morgunov
    • Method Detail

      • parse

        public static <T extends CommonProfileJwtGenerator<T> parse​(com.typesafe.config.Config conf)
                                                               throws ParseException,
                                                                      com.nimbusds.jose.JOSEException
        Parse JwtGenerator from Lagom conf.
        Parameters:
        conf - Configuration of authenticator
        Returns:
        JWT authenticator
        Throws:
        ParseException - a parse exception
        com.nimbusds.jose.JOSEException - a signing/encryption exception