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

com.stratumn.sdk.model.client.CredentialSecret Maven / Gradle / Ivy

There is a newer version: 0.0.8
Show newest version
package com.stratumn.sdk.model.client;

public class CredentialSecret {

  final public String email;
  final public String password;

  CredentialSecret(String email, String password) throws IllegalArgumentException {
    if (email == null) {
      throw new IllegalArgumentException("email cannot be null in CredentialSecret");
    }
    if (password == null) {
      throw new IllegalArgumentException("password cannot be null in CredentialSecret");
    }
    this.email = email;
    this.password = password;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy