package com.github.scribejava.core.revoke;

/**
 *
 * as stated in RFC 7009 <br>
 * 2.1. Revocation Request
 *
 * @see <a href="https://tools.ietf.org/html/rfc7009#section-2.1">RFC 7009, 2.1. Revocation Request</a>
 */
public enum TokenTypeHint {
    ACCESS_TOKEN("access_token"),
    REFRESH_TOKEN("refresh_token");

    private final String value;

    TokenTypeHint(String value) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }

}

@@ -473,10 +473,393 @@
 %0A    %7D%0A%0A
+    /**%0A     * @return value%0A     * @deprecated use %7B@link #getValue() %7D to get a lower-cased value as in reference (RFC7009), otherwise you can%0A     * continue using this method. Note, that returned value will be UPPER-cased (not overrided toString method) in the%0A     * next release.%0A     */%0A    @Override%0A    @Deprecated%0A    public String toString() %7B%0A        return value;%0A    %7D%0A
 %7D%0A

add deprecation note for TokenTypeHint::toString method