Class JWTAuthenticationProvider

  • All Implemented Interfaces:
    EliquaAuthenticationProvider

    public class JWTAuthenticationProvider
    extends Object
    implements EliquaAuthenticationProvider
    A provider for JWT (JSON Web Token) authentication for Eliqua services. This class is responsible for obtaining a JWT token by authenticating with the Eliqua authorization server using the provided username, password, and account details.
    • Constructor Detail

      • JWTAuthenticationProvider

        public JWTAuthenticationProvider​(String username,
                                         String password,
                                         String account,
                                         String authorizationHost)
        Constructs a JWTAuthenticationProvider with the provided credentials and authorization host.
        Parameters:
        username - The username to be used for authentication.
        password - The password associated with the username.
        account - The account identifier associated with the authentication.
        authorizationHost - The URI of the authorization host where JWT authentication occurs.