类 HttpBasicAuth

java.lang.Object
com.easemob.im.auth.HttpBasicAuth
所有已实现的接口:
Authentication

public class HttpBasicAuth extends Object implements Authentication
  • 构造器详细资料

    • HttpBasicAuth

      public HttpBasicAuth()
  • 方法详细资料

    • getUsername

      public String getUsername()
    • setUsername

      public void setUsername(String username)
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
    • applyToParams

      public void applyToParams(List<Pair> queryParams, Map<String,String> headerParams, Map<String,String> cookieParams, String payload, String method, URI uri) throws ApiException
      从接口复制的说明: Authentication
      Apply authentication settings to header and query params.
      指定者:
      applyToParams 在接口中 Authentication
      参数:
      queryParams - List of query parameters
      headerParams - Map of header parameters
      cookieParams - Map of cookie parameters
      payload - HTTP request body
      method - HTTP method
      uri - URI
      抛出:
      ApiException - if failed to update the parameters