Class ServletOAuthCallbackResult

java.lang.Object
com.revetsec.servlet.javax.ServletOAuthCallbackResult
Direct Known Subclasses:
ServletOAuthCallbackResult.Rejected, ServletOAuthCallbackResult.Succeeded, ServletOAuthCallbackResult.TooLarge

The outcome of materializing and 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
  • Method Details

    • toString

      public final @NonNull String toString()
      Returns the outcome kind without callback data.
      Overrides:
      toString in class Object
      Returns:
      redacted description
      Since:
      1.0.0