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