Class OidcRefreshResult

java.lang.Object
com.revetsec.oidc.OidcRefreshResult
Direct Known Subclasses:
OidcRefreshResult.Rejected, OidcRefreshResult.RejectedEndpoint, OidcRefreshResult.Succeeded

The result of an OIDC token refresh. Local validation and non-transient endpoint client errors return fixed rejections. Transport, metadata, malformed endpoint responses, transient endpoint failures and invalid HMAC configuration 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 branch.
Since:
1.0.0
Author:
Mark Allen
  • Method Details

    • toString

      public final @NonNull String toString()
      Returns the outcome kind with all values redacted.
      Overrides:
      toString in class Object
      Returns:
      redacted description
      Since:
      1.0.0