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

org.whispersystems.textsecure.internal.util.StaticCredentialsProvider Maven / Gradle / Ivy

There is a newer version: 1.8.7
Show newest version
package org.whispersystems.textsecure.internal.util;

import org.whispersystems.textsecure.api.util.CredentialsProvider;

public class StaticCredentialsProvider implements CredentialsProvider {

  private final String user;
  private final String password;
  private final String signalingKey;

  public StaticCredentialsProvider(String user, String password, String signalingKey) {
    this.user         = user;
    this.password     = password;
    this.signalingKey = signalingKey;
  }

  @Override
  public String getUser() {
    return user;
  }

  @Override
  public String getPassword() {
    return password;
  }

  @Override
  public String getSignalingKey() {
    return signalingKey;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy