You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
615 B

package com.github.jreddit.oauth.param;
/**
* Enumerator for the duration of tokens.<br>
* <br>
* There are two possible values:
* <ul>
* <li><b>permanent:</b> The token can be refreshed as many times as the application desires.</li>
* <li><b>temporary:</b> The token cannot be refreshed, and will last for <i>one hour</i>.</li>
* </ul>
*/
public enum RedditDuration {
PERMANENT("permanent"),
TEMPORARY("temporary");
private final String value;
RedditDuration(String value) {
this.value = value;
}
public String value() {
return this.value;
}
}