All Classes and Interfaces
Class
Description
Missing or invalid credentials (HTTP 401).
The caller cancelled the operation (future cancelled, thread interrupted, client closed).
Casdoor application settings of the client (Java skeleton): OAuth client, organization,
application, redirect and public URLs.
Builder of the settings.
Client for Casdoor.
Builder that configures and creates a client in one chain.
Immutable configuration of a
CasdoorClient (SPEC section 2.2).Builder of the configuration.
Base class of every error raised by the Casdoor SDK (SPEC section 2.1).
Casdoor helpers: PKCE, form bodies, token parsing and error normalization.
A PKCE pair (RFC 7636, S256).
Invalid or missing configuration.
Conflicting write or check-and-set mismatch (HTTP 409, 412).
The operations of one scenario category (
core, secrets, logging,
tracing) for the ConformanceRunner.Results of a conformance run.
Result of one scenario.
Outcome of a scenario or step.
Result of one step.
Runs the shared conformance scenarios (
conformance/scenarios/*.json, SPEC section 6)
against targets supplied by a service's integration test.Builder for
ConformanceRunner.Conformance operations of the
core category: health, ping,
serverVersion, close.A target of the
core conformance category that is not the service client: a fake for unit
tests of the runner, or an adapter for a client whose core methods differ.Reads configuration from environment variables (SPEC section 2.2).
Canonical error codes shared by every Grow Codes SDK (SPEC section 2.1).
Service hook that replaces the error
HttpTransport derived from a failed response, for
vendor-specific mapping (for example a 403 that means bad credentials, or a 500 whose body says
the request will never succeed).Evaluates the
expect object of a scenario step (SPEC section 6).Implements the
health() contract (SPEC section 2.4): never throws for an unhealthy or
unreachable service, only for CancelledException and ConfigException.Result of
health() (SPEC section 2.4).Callbacks invoked for every HTTP attempt (SPEC section 2.5).
Data passed to
Hooks.onError(codes.grow.packages.casdoor.core.Hooks.ErrorInfo).The HTTP engine shared by every client of the SDK (SPEC section 2.3), built on
HttpClient.Shared Jackson configuration of the SDK.
JUnit 5 adapter: one dynamic test per scenario.
Minimal logger used by the transport (SPEC section 2.5).
The record does not exist (HTTP 404).
Executes one scenario step and returns its result (or an
OpResult).A step result with optional extra views for the expectations
count and tree.The credentials lack a permission (HTTP 403).
Generic polling helper (
pollUntil): used by waitForLog, waitForTrace and
service waiters.The service rate-limited the call (HTTP 429); see
CasdoorException.retryAfter().Redaction helpers for headers, URLs, structured fields and free text (SPEC section 2.6).
Retry settings with full-jitter exponential backoff (SPEC section 2.3).
Builder for
RetryPolicy.A parsed conformance scenario (
conformance/scenarios/*.json).One step of a scenario.
Package identity used in the
User-Agent header.A credential held in a
char[] that never prints itself.Everything an
OpHandler needs for one step.Creates the object a scenario runs against (client, provider, log client, tracing handle).
A connect, request or total deadline was exceeded (or HTTP 408, 504).
TLS settings: custom CA, client certificate (mutual TLS) and the test-only
insecureSkipVerify.Builder for
TlsOptions.OAuth tokens returned by sign-in, refresh and code exchange.
Settings of one
HttpTransport.Builder for
TransportConfig.One logical HTTP call executed by
HttpTransport (with retries).Builder for
TransportRequest.A response returned by
HttpTransport (2xx or an accepted status).Network error or HTTP 500, 502, 503.
The service or deployment does not offer this capability (HTTP 501).
The request or a value is invalid (HTTP 400, 413, 422, other 4xx).