Class AuthorizationResponseParseResult
java.lang.Object
com.revetsec.oauth.AuthorizationResponseParseResult
- Direct Known Subclasses:
AuthorizationResponseParseResult.Rejected, AuthorizationResponseParseResult.Succeeded
@Immutable
public abstract sealed class AuthorizationResponseParseResult
extends Object
permits AuthorizationResponseParseResult.Succeeded, AuthorizationResponseParseResult.Rejected
The outcome of parsing a raw, unverified OAuth browser callback. A successful parse grants no identity;
the configured OAuth or OpenID Connect client must complete the browser-bound transaction.
Only the producing operation constructs these outcomes. Value accessors exist only on the variant that owns a value, and diagnostic text contains no callback data. Later releases may add variants; consuming switches should include a rejecting default branch.
- Since:
- 1.0.0
- Author:
- Mark Allen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA malformed, duplicate, oversized or split-channel callback.static final classA syntactically parsed callback that remains unverified until transaction completion. -
Method Summary
-
Method Details
-
toString
-