Class OidcAuthenticationResult

java.lang.Object
com.revetsec.oidc.OidcAuthenticationResult
Direct Known Subclasses:
OidcAuthenticationResult.Denied, OidcAuthenticationResult.Failed, OidcAuthenticationResult.RejectedAuthorization, OidcAuthenticationResult.RejectedAuthorizationError, OidcAuthenticationResult.RejectedEndpoint, OidcAuthenticationResult.RejectedIdToken, OidcAuthenticationResult.Succeeded

The outcome of OIDC callback completion. Only a fully validated authentication releases identity and tokens.

Applications receive these outcomes from the corresponding operation; they cannot construct them. Value accessors exist only on the variant that owns a value. Diagnostic text contains no input or result data. 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