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
@Immutable
public abstract sealed class OidcAuthenticationResult
extends Object
permits OidcAuthenticationResult.Succeeded, OidcAuthenticationResult.Denied, OidcAuthenticationResult.RejectedAuthorization, OidcAuthenticationResult.RejectedIdToken, OidcAuthenticationResult.Failed, OidcAuthenticationResult.RejectedAuthorizationError, OidcAuthenticationResult.RejectedEndpoint
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA bound callback reported access_denied after all pending-state and issuer checks.static final classThe pending store did not complete its operation.static final classA local callback or pending-state security check failed.static final classA bound callback reported an authorization error after all pending-state and issuer checks passed.static final classThe endpoint returned a non-transient client error.static final classThe ID token failed validation.static final classThe shared authorization checks and all ID-token profile checks passed. -
Method Summary
-
Method Details
-
toString
-