Class ParameterClient

  • All Implemented Interfaces:
    Client<TokenCredentials>

    public class ParameterClient
    extends DirectClient<TokenCredentials>

    This class is the client to authenticate users directly based on a provided parameter (in a GET and/or POST request).

    Since:
    1.8.0
    Author:
    Jerome Leleu
    • Constructor Detail

      • ParameterClient

        public ParameterClient()
      • ParameterClient

        public ParameterClient​(String parameterName,
                               Authenticator tokenAuthenticator)
    • Method Detail

      • getParameterName

        public String getParameterName()
      • setParameterName

        public void setParameterName​(String parameterName)
      • isSupportGetRequest

        public boolean isSupportGetRequest()
      • setSupportGetRequest

        public void setSupportGetRequest​(boolean supportGetRequest)
      • isSupportPostRequest

        public boolean isSupportPostRequest()
      • setSupportPostRequest

        public void setSupportPostRequest​(boolean supportPostRequest)