Class OAuthRevocationResult
java.lang.Object
com.revetsec.oauth.OAuthRevocationResult
- Direct Known Subclasses:
OAuthRevocationResult.Rejected, OAuthRevocationResult.Succeeded
@Immutable
public abstract sealed class OAuthRevocationResult
extends Object
permits OAuthRevocationResult.Succeeded, OAuthRevocationResult.Rejected
The outcome of one token revocation request.
Non-transient endpoint client errors return a fixed rejection; transport, metadata, malformed responses and
transient endpoint failures remain exceptions. Applications receive outcomes from the operation and cannot
construct them. A later release may add variants; consuming switches should include a rejecting default.
- Since:
- 1.0.0
- Author:
- Mark Allen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe endpoint returned a non-transient client error.static final classThe endpoint accepted the revocation request; RFC 7009 also accepts unknown tokens. -
Method Summary
-
Method Details
-
toString
-