/** * @param key Dropbox app key (see {@link #getKey}) * @param secret Dropbox app secret (see {@link #getSecret}) */ public DbxAppInfo(String key, String secret) { checkKeyArg(key); checkSecretArg(secret); this.key = key; this.secret = secret; this.host = DbxHost.DEFAULT; }
/** * @param key Dropbox app key (see {@link #getKey}) * @param secret Dropbox app secret (see {@link #getSecret}) * @param host Dropbox host configuration (see {@link #getHost}) */ public DbxAppInfo(String key, String secret, DbxHost host) { checkKeyArg(key); checkSecretArg(secret); this.key = key; this.secret = secret; this.host = host; }