All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.qas.qtest.api.auth.QTestCredentialsProvider Maven / Gradle / Ivy

The newest version!
package org.qas.qtest.api.auth;

/**
 * QTestCredentialsProvider
 *
 * @author Dzung Nguyen
 * @version $Id QTestCredentialsProvider 2014-03-27 13:27:30z dungvnguyen $
 * @since 1.0
 */
public interface QTestCredentialsProvider {
  /**
   * Returns the {@link QTestCredentials credentials} which the caller can use to
   * authorize an qTest request. Each implementation of {@link QTestCredentialsProvider}
   * can chose its own strategy for loading credentials.
   *
   * @return {@link QTestCredentials} which the caller can use to authorize an qTest request.
   */
  QTestCredentials getCredentials();

  /**
   * Forces this credentials provider to refresh its credentials.
   */
  void refresh();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy