Index

A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

acceptAnyStatus() - Method in class codes.grow.packages.oidc.core.TransportRequest.Builder
Returns every status to the caller (health probes); no status is retried.
accepts(int) - Method in class codes.grow.packages.oidc.core.TransportRequest
Returns whether a non-2xx status is returned to the caller instead of raising an error.
acceptStatus(int...) - Method in class codes.grow.packages.oidc.core.TransportRequest.Builder
Returns these statuses to the caller instead of raising an error (no retries for them).
alg() - Method in record class codes.grow.packages.oidc.oidctest.FakeIdp.Key
Returns the value of the alg record component.
algorithms(List<String>) - Method in class codes.grow.packages.oidc.Verifier.Builder
Accepted algorithms, a subset of RS256, RS384, RS512, PS256, PS384, PS512, ES256, ES384, ES512, EdDSA (default all).
arg(String) - Method in class codes.grow.packages.oidc.testing.StepContext
Returns a required string argument.
args() - Method in record class codes.grow.packages.oidc.testing.Scenario.Step
Returns the value of the args record component.
args() - Method in class codes.grow.packages.oidc.testing.StepContext
Returns the arguments with ${...} variables substituted (#{i} is kept).
asSdkException(Throwable, String) - Static method in class codes.grow.packages.oidc.core.HttpTransport
Converts any throwable from a future into the matching SDK exception.
assertPassed() - Method in record class codes.grow.packages.oidc.testing.ConformanceReport
Throws when any scenario failed.
attempt() - Method in record class codes.grow.packages.oidc.core.Hooks.ErrorInfo
Returns the value of the attempt record component.
attempt() - Method in record class codes.grow.packages.oidc.core.Hooks.RequestInfo
Returns the value of the attempt record component.
attempt() - Method in record class codes.grow.packages.oidc.core.Hooks.ResponseInfo
Returns the value of the attempt record component.
attempts() - Method in class codes.grow.packages.oidc.core.TransportResponse
Returns the number of attempts the call needed.
audience() - Method in class codes.grow.packages.oidc.Verifier
The expected audience.
audience(String) - Method in class codes.grow.packages.oidc.Verifier.Builder
Expected aud.
AUTHENTICATION - Enum constant in enum class codes.grow.packages.oidc.core.ErrorCode
HTTP 401: missing or invalid credentials.
AuthenticationException - Exception Class in codes.grow.packages.oidc.core
Missing or invalid credentials (HTTP 401).
AuthenticationException(String) - Constructor for exception class codes.grow.packages.oidc.core.AuthenticationException
Creates the exception.
AuthenticationException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.AuthenticationException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
AuthenticationException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.AuthenticationException
Creates the exception with response details.
AuthenticationException(String, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.AuthenticationException
Creates the exception with a cause.
AuthUser - Record Class in codes.grow.packages.oidc
The authenticated user of a verified access token.
AuthUser(String, Optional<String>, Optional<String>, List<String>, Map<String, Object>) - Constructor for record class codes.grow.packages.oidc.AuthUser
Validates and copies the components.
await(CompletableFuture<T>, String) - Static method in class codes.grow.packages.oidc.core.HttpTransport
Waits for a future of this SDK: an interrupt cancels the future and raises CancelledException.

B

backoff(int) - Method in class codes.grow.packages.oidc.core.RetryPolicy
Computes the full-jitter backoff for retry n.
backoffCap(int) - Method in class codes.grow.packages.oidc.core.RetryPolicy
Returns the upper bound of the jitter window for retry n.
baseUrl() - Method in class codes.grow.packages.oidc.core.TransportConfig
Returns the base URL.
batchOptions() - Method in record class codes.grow.packages.oidc.testing.Scenario
Returns the batchOptions object of a logging scenario.
bearerToken(String) - Static method in class codes.grow.packages.oidc.Verifier
Returns the bearer token of an Authorization header value.
body() - Method in class codes.grow.packages.oidc.core.TransportRequest
Returns a copy of the body.
body() - Method in class codes.grow.packages.oidc.core.TransportResponse
Returns a copy of the body.
body(byte[], String) - Method in class codes.grow.packages.oidc.core.TransportRequest.Builder
Sets a raw body.
bool(String, String...) - Method in class codes.grow.packages.oidc.core.EnvReader
Reads a boolean (true/false/1/0/yes/no/on/off, case-insensitive).
build() - Method in class codes.grow.packages.oidc.core.RetryPolicy.Builder
Validates and builds the policy.
build() - Method in class codes.grow.packages.oidc.core.TlsOptions.Builder
Builds the options.
build() - Method in class codes.grow.packages.oidc.core.TransportConfig.Builder
Builds the configuration.
build() - Method in class codes.grow.packages.oidc.core.TransportRequest.Builder
Builds the request.
build() - Method in class codes.grow.packages.oidc.OidcClient.Builder
Builds the configuration and the client.
build() - Method in class codes.grow.packages.oidc.OidcConfig.Builder
Builds and validates the configuration.
build() - Method in class codes.grow.packages.oidc.testing.ConformanceRunner.Builder
Builds the runner.
build() - Method in class codes.grow.packages.oidc.Verifier.Builder
Validates the options and builds the verifier (no network call).
builder() - Static method in class codes.grow.packages.oidc.core.RetryPolicy
Starts a builder with the defaults.
builder() - Static method in class codes.grow.packages.oidc.core.TlsOptions
Starts a builder.
builder() - Static method in class codes.grow.packages.oidc.OidcClient
Starts a client builder.
builder() - Static method in class codes.grow.packages.oidc.OidcConfig
Starts an empty builder (every field at its default).
builder() - Static method in class codes.grow.packages.oidc.testing.ConformanceRunner
Starts a builder with CoreOps and the built-in category operations registered.
builder() - Static method in class codes.grow.packages.oidc.Verifier
Starts a builder.
builder(String) - Static method in class codes.grow.packages.oidc.core.TransportConfig
Starts a builder with the SPEC defaults.
builder(String, String) - Static method in class codes.grow.packages.oidc.core.TransportRequest
Starts a request.

C

caCertPath() - Method in class codes.grow.packages.oidc.core.TlsOptions
Returns the CA bundle path.
caCertPath(Path) - Method in class codes.grow.packages.oidc.core.TlsOptions.Builder
Trusts the CA certificates in a PEM file instead of the system trust store.
caCertPem() - Method in class codes.grow.packages.oidc.core.TlsOptions
Returns the inline CA bundle.
caCertPem(String) - Method in class codes.grow.packages.oidc.core.TlsOptions.Builder
Trusts the CA certificates in inline PEM text.
CANCELLED - Enum constant in enum class codes.grow.packages.oidc.core.ErrorCode
The caller cancelled the operation.
CancelledException - Exception Class in codes.grow.packages.oidc.core
The caller cancelled the operation (future cancelled, thread interrupted, client closed).
CancelledException(String) - Constructor for exception class codes.grow.packages.oidc.core.CancelledException
Creates the exception.
CancelledException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.CancelledException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
CancelledException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.CancelledException
Creates the exception with response details.
CancelledException(String, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.CancelledException
Creates the exception with a cause.
capabilities(String...) - Method in class codes.grow.packages.oidc.testing.ConformanceRunner.Builder
Declares capabilities of the target (write, delete, versions, query, version, ...).
category() - Method in interface codes.grow.packages.oidc.testing.ConformanceOps
Returns the category these operations serve.
category() - Method in record class codes.grow.packages.oidc.testing.ConformanceReport.ScenarioResult
Returns the value of the category record component.
category() - Method in class codes.grow.packages.oidc.testing.CoreOps
 
category() - Method in record class codes.grow.packages.oidc.testing.Scenario
Returns the value of the category record component.
check(HttpTransport, String) - Static method in class codes.grow.packages.oidc.core.HealthCheck
Probes an endpoint once (no retries) and maps the outcome to a HealthStatus.
check(JsonNode, Object, Throwable) - Static method in class codes.grow.packages.oidc.testing.Expectations
Checks a step outcome.
checkAsync(HttpTransport, String) - Static method in class codes.grow.packages.oidc.core.HealthCheck
claimAt(Map<String, ?>, String) - Static method in class codes.grow.packages.oidc.Roles
Returns the value at a claim name (roles) or dotted path (realm_access.roles); an exact top-level match wins.
claims() - Method in record class codes.grow.packages.oidc.AuthUser
Returns the value of the claims record component.
clear() - Method in class codes.grow.packages.oidc.core.Secret
Overwrites the characters with zeros; later Secret.reveal() calls throw.
clearCache() - Method in class codes.grow.packages.oidc.Verifier
Drops the cached JWKS so the next verification refetches it.
clientCertPath() - Method in class codes.grow.packages.oidc.core.TlsOptions
Returns the client certificate path.
clientCertPath(Path) - Method in class codes.grow.packages.oidc.core.TlsOptions.Builder
Sets the client certificate file (mutual TLS); requires a key.
clientCertPem(String) - Method in class codes.grow.packages.oidc.core.TlsOptions.Builder
Sets the client certificate as inline PEM.
clientKeyPath() - Method in class codes.grow.packages.oidc.core.TlsOptions
Returns the client key path.
clientKeyPath(Path) - Method in class codes.grow.packages.oidc.core.TlsOptions.Builder
Sets the client key file (unencrypted PKCS#8 PEM).
clientKeyPem(Secret) - Method in class codes.grow.packages.oidc.core.TlsOptions.Builder
Sets the client key as inline PEM.
clock() - Method in class codes.grow.packages.oidc.core.TransportConfig
Returns the clock used for Retry-After dates.
clock(Clock) - Method in class codes.grow.packages.oidc.core.TransportConfig.Builder
Sets the clock (tests).
clock(Clock) - Method in class codes.grow.packages.oidc.Verifier.Builder
Clock (tests).
clockSkew() - Method in class codes.grow.packages.oidc.Verifier
The exp/nbf tolerance.
clockSkew(Duration) - Method in class codes.grow.packages.oidc.Verifier.Builder
Tolerance applied to exp/nbf; default 60 s.
close() - Method in class codes.grow.packages.oidc.core.HttpTransport
Cancels pending calls and releases the client.
close() - Method in class codes.grow.packages.oidc.OidcClient
Stops registered resources and the transport.
close() - Method in class codes.grow.packages.oidc.oidctest.FakeIdp
 
close() - Method in interface codes.grow.packages.oidc.testing.CoreTarget
Releases the target; idempotent.
code() - Method in exception class codes.grow.packages.oidc.core.OidcException
Returns the canonical error code.
codes.grow.packages.oidc - package codes.grow.packages.oidc
Grow Codes SDK for OIDC.
codes.grow.packages.oidc.core - package codes.grow.packages.oidc.core
 
codes.grow.packages.oidc.oidctest - package codes.grow.packages.oidc.oidctest
 
codes.grow.packages.oidc.servlet - package codes.grow.packages.oidc.servlet
 
codes.grow.packages.oidc.testing - package codes.grow.packages.oidc.testing
 
config() - Method in class codes.grow.packages.oidc.core.HttpTransport
Returns the configuration.
config() - Method in class codes.grow.packages.oidc.OidcClient
Returns the configuration.
CONFIG - Enum constant in enum class codes.grow.packages.oidc.core.ErrorCode
Invalid or missing configuration.
ConfigException - Exception Class in codes.grow.packages.oidc.core
Invalid or missing configuration.
ConfigException(String) - Constructor for exception class codes.grow.packages.oidc.core.ConfigException
Creates the exception.
ConfigException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.ConfigException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
ConfigException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.ConfigException
Creates the exception with response details.
ConfigException(String, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.ConfigException
Creates the exception with a cause.
CONFLICT - Enum constant in enum class codes.grow.packages.oidc.core.ErrorCode
HTTP 409, 412 or a check-and-set mismatch.
ConflictException - Exception Class in codes.grow.packages.oidc.core
Conflicting write or check-and-set mismatch (HTTP 409, 412).
ConflictException(String) - Constructor for exception class codes.grow.packages.oidc.core.ConflictException
Creates the exception.
ConflictException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.ConflictException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
ConflictException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.ConflictException
Creates the exception with response details.
ConflictException(String, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.ConflictException
Creates the exception with a cause.
ConformanceOps - Interface in codes.grow.packages.oidc.testing
The operations of one scenario category (core, secrets, logging, tracing) for the ConformanceRunner.
ConformanceReport - Record Class in codes.grow.packages.oidc.testing
Results of a conformance run.
ConformanceReport(List<ConformanceReport.ScenarioResult>) - Constructor for record class codes.grow.packages.oidc.testing.ConformanceReport
Creates a report; the list is copied.
ConformanceReport.ScenarioResult - Record Class in codes.grow.packages.oidc.testing
Result of one scenario.
ConformanceReport.Status - Enum Class in codes.grow.packages.oidc.testing
Outcome of a scenario or step.
ConformanceReport.StepResult - Record Class in codes.grow.packages.oidc.testing
Result of one step.
ConformanceRunner - Class in codes.grow.packages.oidc.testing
Runs the shared conformance scenarios (conformance/scenarios/*.json, SPEC section 6) against targets supplied by a service's integration test.
ConformanceRunner.Builder - Class in codes.grow.packages.oidc.testing
Builder for ConformanceRunner.
connectTimeout() - Method in class codes.grow.packages.oidc.core.TransportConfig
Returns the connection setup timeout.
connectTimeout() - Method in class codes.grow.packages.oidc.OidcConfig
Returns the connect timeout.
connectTimeout(Duration) - Method in class codes.grow.packages.oidc.core.TransportConfig.Builder
Sets the connect timeout.
connectTimeout(Duration) - Method in class codes.grow.packages.oidc.OidcClient.Builder
Sets the connect timeout.
connectTimeout(Duration) - Method in class codes.grow.packages.oidc.OidcConfig.Builder
Sets the connect timeout (default 10 s).
contentType() - Method in class codes.grow.packages.oidc.core.TransportRequest
Returns the body content type.
CoreOps - Class in codes.grow.packages.oidc.testing
Conformance operations of the core category: health, ping, serverVersion, close.
CoreOps() - Constructor for class codes.grow.packages.oidc.testing.CoreOps
Creates the operations.
CoreTarget - Interface in codes.grow.packages.oidc.testing
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.
count() - Method in class codes.grow.packages.oidc.testing.OpResult
Returns the explicit count.
create(OidcConfig) - Static method in class codes.grow.packages.oidc.OidcClient
Creates a client.
create(Scenario) - Method in interface codes.grow.packages.oidc.testing.TargetFactory
Creates or returns the target for one scenario.

D

debug(String) - Method in interface codes.grow.packages.oidc.core.Logger
Logs at debug level without fields.
debug(String, Map<String, Object>) - Method in interface codes.grow.packages.oidc.core.Logger
Logs at debug level.
decode(byte[], TypeReference<T>) - Static method in class codes.grow.packages.oidc.core.Json
Decodes JSON bytes into a generic type.
decode(byte[], Class<T>) - Static method in class codes.grow.packages.oidc.core.Json
Decodes JSON bytes into a type.
deepMatch(JsonNode, JsonNode) - Static method in class codes.grow.packages.oidc.testing.Expectations
Deep JSON equality where objects in expected are matched as subsets and numbers compare by value (42 == 42.0).
DEFAULT_ALGORITHMS - Static variable in class codes.grow.packages.oidc.Verifier
Accepted algorithms by default: every supported asymmetric algorithm (none and HMAC are never accepted).
DEFAULT_CLOCK_SKEW - Static variable in class codes.grow.packages.oidc.Verifier
Default tolerance applied to exp and nbf.
DEFAULT_HTTP_TIMEOUT - Static variable in class codes.grow.packages.oidc.Verifier
Default timeout of discovery and JWKS requests.
DEFAULT_JWKS_CACHE_TTL - Static variable in class codes.grow.packages.oidc.Verifier
Default JWKS cache lifetime.
DEFAULT_JWKS_REFRESH_COOLDOWN - Static variable in class codes.grow.packages.oidc.Verifier
Default minimum interval between two unknown-kid refetches.
DEFAULT_MAX_RETRIES - Static variable in class codes.grow.packages.oidc.core.RetryPolicy
Default maximum number of retries (so up to 4 attempts).
DEFAULT_POLL_INTERVAL - Static variable in class codes.grow.packages.oidc.testing.ConformanceRunner
Pause between repeated steps.
DEFAULT_POLL_TIMEOUT - Static variable in class codes.grow.packages.oidc.testing.ConformanceRunner
How long listServices steps are repeated until their expectation passes.
DEFAULT_PREFIX - Static variable in class codes.grow.packages.oidc.core.EnvReader
Prefix of every variable of this SDK.
DEFAULT_PREFIX - Static variable in class codes.grow.packages.oidc.testing.ConformanceRunner
Default value of ${prefix}.
DEFAULT_PUBLIC_PATHS - Static variable in class codes.grow.packages.oidc.servlet.OidcFilter
Default public paths: health checks and API docs.
DEFAULT_URL - Static variable in class codes.grow.packages.oidc.OidcConfig
Default endpoint.
defaults() - Static method in class codes.grow.packages.oidc.core.RetryPolicy
Returns the default policy: 3 retries, 100 ms initial, 10 s max, multiplier 2, Retry-After up to 60 s.
defaults() - Static method in class codes.grow.packages.oidc.core.TlsOptions
Returns options without any customisation (system trust store).
delete(String) - Static method in class codes.grow.packages.oidc.core.TransportRequest
Starts a DELETE request.
describe() - Method in record class codes.grow.packages.oidc.testing.ConformanceReport.ScenarioResult
Returns a one-line description.
description() - Method in record class codes.grow.packages.oidc.testing.Scenario
Returns the value of the description record component.
details() - Method in record class codes.grow.packages.oidc.core.HealthStatus
Returns the value of the details record component.
DISCOVERY_PATH - Static variable in class codes.grow.packages.oidc.OidcClient
Discovery document path, relative to the provider URL.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class codes.grow.packages.oidc.servlet.OidcFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class codes.grow.packages.oidc.servlet.RequireRolesFilter
 
duration() - Method in class codes.grow.packages.oidc.core.TransportResponse
Returns the call duration including retries.
duration(String, String...) - Method in class codes.grow.packages.oidc.core.EnvReader
Reads a duration (integer milliseconds or Go-style units such as 1m30s).
durationMs() - Method in record class codes.grow.packages.oidc.core.Hooks.ResponseInfo
Returns the value of the durationMs record component.
durationMs() - Method in record class codes.grow.packages.oidc.testing.ConformanceReport.ScenarioResult
Returns the value of the durationMs record component.
dynamicTests(ConformanceRunner) - Static method in class codes.grow.packages.oidc.testing.JUnitConformance
Creates one dynamic test per selected scenario.

E

email() - Method in record class codes.grow.packages.oidc.AuthUser
Returns the value of the email record component.
encode(Object) - Static method in class codes.grow.packages.oidc.core.Json
Encodes a value as UTF-8 JSON.
EnvReader - Class in codes.grow.packages.oidc.core
Reads configuration from environment variables (SPEC section 2.2).
EnvReader(String, Map<String, String>) - Constructor for class codes.grow.packages.oidc.core.EnvReader
Creates a reader over an explicit environment map.
equals(Object) - Method in record class codes.grow.packages.oidc.AuthUser
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.oidc.core.HealthStatus
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.oidc.core.Hooks.ErrorInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.oidc.core.Hooks.RequestInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.oidc.core.Hooks.ResponseInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.oidc.oidctest.FakeIdp.Key
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.oidc.testing.ConformanceReport
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.oidc.testing.ConformanceReport.ScenarioResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.oidc.testing.ConformanceReport.StepResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.oidc.testing.Scenario
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class codes.grow.packages.oidc.testing.Scenario.Step
Indicates whether some other object is "equal to" this one.
error() - Method in record class codes.grow.packages.oidc.core.Hooks.ErrorInfo
Returns the value of the error record component.
error(String) - Method in interface codes.grow.packages.oidc.core.Logger
Logs at error level without fields.
error(String, Map<String, Object>) - Method in interface codes.grow.packages.oidc.core.Logger
Logs at error level.
ErrorCode - Enum Class in codes.grow.packages.oidc.core
Canonical error codes shared by every Grow Codes SDK (SPEC section 2.1).
ErrorInfo(String, String, OidcException, int, boolean) - Constructor for record class codes.grow.packages.oidc.core.Hooks.ErrorInfo
Creates an instance of a ErrorInfo record class.
errorMapper() - Method in class codes.grow.packages.oidc.core.TransportConfig
Returns the service error mapper.
errorMapper(ErrorMapper) - Method in class codes.grow.packages.oidc.core.TransportConfig.Builder
Sets the service error mapper (see ErrorMapper).
ErrorMapper - Interface in codes.grow.packages.oidc.core
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).
errorMessage(String, int, Map<String, List<String>>, byte[], Collection<String>) - Static method in class codes.grow.packages.oidc.core.HttpTransport
Builds an error message "<operation>: <reason> (HTTP <status>)" with redacted, truncated vendor text.
expect() - Method in record class codes.grow.packages.oidc.testing.Scenario.Step
Returns the value of the expect record component.
Expectations - Class in codes.grow.packages.oidc.testing
Evaluates the expect object of a scenario step (SPEC section 6).
extract(Map<String, ?>, String) - Static method in class codes.grow.packages.oidc.Roles
Extracts role names: a string is split on commas and whitespace; a list yields each string, or each object's name (Casdoor), code, role or value.

F

fail(int) - Method in class codes.grow.packages.oidc.oidctest.FakeIdp
Makes every response use status (0 = normal).
FAILED - Enum constant in enum class codes.grow.packages.oidc.testing.ConformanceReport.Status
An expectation failed or the step raised an unexpected error.
FakeIdp - Class in codes.grow.packages.oidc.oidctest
A local fake OpenID provider for tests: serves /.well-known/openid-configuration and /jwks on 127.0.0.1, mints signed tokens (RS256/384/512, PS256/384/512, ES256/384/512, EdDSA) and rotates keys.
FakeIdp.Key - Record Class in codes.grow.packages.oidc.oidctest
One signing key.
forStatus(int) - Static method in enum class codes.grow.packages.oidc.core.ErrorCode
Maps an HTTP status to its canonical code.
fromEnv() - Static method in class codes.grow.packages.oidc.OidcClient
Creates a client from the SDK and vendor environment variables.
fromEnv() - Static method in class codes.grow.packages.oidc.OidcConfig
Reads the configuration from the process environment.
fromEnv() - Static method in class codes.grow.packages.oidc.Verifier
Builds a verifier from GROW_AUTH_ISSUER (required), GROW_AUTH_AUDIENCE (default GROW_AUTH_CLIENT_ID), GROW_AUTH_JWKS_URL, GROW_AUTH_ROLES_CLAIM (default roles) and GROW_AUTH_CLOCK_SKEW (duration, default 60s).
fromEnv(EnvReader) - Method in class codes.grow.packages.oidc.OidcClient.Builder
Fills unset fields from an environment reader.
fromEnv(EnvReader) - Method in class codes.grow.packages.oidc.OidcConfig.Builder
Fills every field that was not set explicitly from the environment.
fromEnv(Map<String, String>) - Static method in class codes.grow.packages.oidc.OidcConfig
Reads the configuration from an explicit variable map (tests).
fromEnv(Map<String, String>) - Static method in class codes.grow.packages.oidc.Verifier
Verifier.fromEnv() with an explicit environment map (tests).
fromError(OidcException) - Static method in class codes.grow.packages.oidc.core.HealthCheck
Maps a transport error to unreachable.
fromResponse(TransportResponse) - Static method in class codes.grow.packages.oidc.core.HealthCheck
Maps a health response: 2xx is healthy; the word comes from a JSON status field ( ok / unhealthy when absent); other string fields become details.

G

get(String) - Static method in class codes.grow.packages.oidc.core.TransportRequest
Starts a GET request.
getName() - Method in record class codes.grow.packages.oidc.AuthUser
The principal name: the subject.

H

hasAny(Collection<String>, Collection<String>) - Static method in class codes.grow.packages.oidc.Roles
Returns whether have contains at least one of required (case-insensitive).
hashCode() - Method in record class codes.grow.packages.oidc.AuthUser
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.oidc.core.HealthStatus
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.oidc.core.Hooks.ErrorInfo
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.oidc.core.Hooks.RequestInfo
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.oidc.core.Hooks.ResponseInfo
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.oidc.oidctest.FakeIdp.Key
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.oidc.testing.ConformanceReport
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.oidc.testing.ConformanceReport.ScenarioResult
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.oidc.testing.ConformanceReport.StepResult
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.oidc.testing.Scenario
Returns a hash code value for this object.
hashCode() - Method in record class codes.grow.packages.oidc.testing.Scenario.Step
Returns a hash code value for this object.
hasRole(String...) - Method in record class codes.grow.packages.oidc.AuthUser
Returns whether the user has at least one of required (case-insensitive).
header(String) - Method in class codes.grow.packages.oidc.core.TransportResponse
Returns the first value of a header.
header(String, String) - Method in class codes.grow.packages.oidc.core.TransportRequest.Builder
Sets a header.
header(String, String) - Method in class codes.grow.packages.oidc.OidcClient.Builder
Adds a header.
header(String, String) - Method in class codes.grow.packages.oidc.OidcConfig.Builder
Adds a header sent with every request.
headers() - Method in record class codes.grow.packages.oidc.core.Hooks.RequestInfo
Returns the value of the headers record component.
headers() - Method in class codes.grow.packages.oidc.core.TransportConfig
Returns the extra headers sent with every request.
headers() - Method in class codes.grow.packages.oidc.core.TransportRequest
Returns the request headers.
headers() - Method in class codes.grow.packages.oidc.core.TransportResponse
Returns the response headers (case-insensitive keys).
headers() - Method in class codes.grow.packages.oidc.OidcConfig
Returns the extra request headers.
headers(Map<String, String>) - Method in class codes.grow.packages.oidc.core.TransportConfig.Builder
Adds headers sent with every request.
health() - Method in class codes.grow.packages.oidc.OidcClient
Checks liveness (GET <url>/.well-known/openid-configuration).
health() - Method in interface codes.grow.packages.oidc.testing.CoreTarget
Checks liveness; never throws for an unhealthy service.
healthAsync() - Method in class codes.grow.packages.oidc.OidcClient
Asynchronous OidcClient.health().
HealthCheck - Class in codes.grow.packages.oidc.core
Implements the health() contract (SPEC section 2.4): never throws for an unhealthy or unreachable service, only for CancelledException and ConfigException.
HealthStatus - Record Class in codes.grow.packages.oidc.core
Result of health() (SPEC section 2.4).
HealthStatus(boolean, String, Map<String, String>) - Constructor for record class codes.grow.packages.oidc.core.HealthStatus
Creates a status; details are copied.
healthy() - Method in record class codes.grow.packages.oidc.core.HealthStatus
Returns the value of the healthy record component.
hits(String) - Method in class codes.grow.packages.oidc.oidctest.FakeIdp
How often a path was requested.
hooks() - Method in class codes.grow.packages.oidc.core.TransportConfig
Returns the hooks.
hooks() - Method in class codes.grow.packages.oidc.OidcConfig
Returns the hooks.
hooks(Hooks) - Method in class codes.grow.packages.oidc.core.TransportConfig.Builder
Sets the hooks.
hooks(Hooks) - Method in class codes.grow.packages.oidc.OidcClient.Builder
Sets hooks.
hooks(Hooks) - Method in class codes.grow.packages.oidc.OidcConfig.Builder
Sets request hooks.
Hooks - Interface in codes.grow.packages.oidc.core
Callbacks invoked for every HTTP attempt (SPEC section 2.5).
Hooks.ErrorInfo - Record Class in codes.grow.packages.oidc.core
Hooks.RequestInfo - Record Class in codes.grow.packages.oidc.core
Hooks.ResponseInfo - Record Class in codes.grow.packages.oidc.core
httpClient(HttpClient) - Method in class codes.grow.packages.oidc.Verifier.Builder
HTTP client for discovery/JWKS (proxies, TLS); default a new JDK client.
httpStatus() - Method in exception class codes.grow.packages.oidc.core.OidcException
Returns the HTTP status when the error came from a response.
httpTimeout(Duration) - Method in class codes.grow.packages.oidc.Verifier.Builder
Timeout of discovery/JWKS requests; default 10 s.
HttpTransport - Class in codes.grow.packages.oidc.core
The HTTP engine shared by every client of the SDK (SPEC section 2.3), built on HttpClient.
HttpTransport(TransportConfig) - Constructor for class codes.grow.packages.oidc.core.HttpTransport
Creates a transport.

I

id() - Method in record class codes.grow.packages.oidc.testing.ConformanceReport.ScenarioResult
Returns the value of the id record component.
id() - Method in record class codes.grow.packages.oidc.testing.Scenario
Returns the value of the id record component.
idempotent() - Method in class codes.grow.packages.oidc.core.TransportRequest
Returns whether the request may be replayed after an uncertain send.
idempotent(boolean) - Method in class codes.grow.packages.oidc.core.TransportRequest.Builder
Marks the request idempotent (or not), overriding the method default.
index() - Method in record class codes.grow.packages.oidc.testing.ConformanceReport.StepResult
Returns the value of the index record component.
info(String) - Method in interface codes.grow.packages.oidc.core.Logger
Logs at info level without fields.
info(String, Map<String, Object>) - Method in interface codes.grow.packages.oidc.core.Logger
Logs at info level.
initialBackoff() - Method in class codes.grow.packages.oidc.core.RetryPolicy
Returns the backoff cap for the first retry.
initialBackoff(Duration) - Method in class codes.grow.packages.oidc.core.RetryPolicy.Builder
Sets the backoff cap of the first retry.
insecureSkipVerify() - Method in class codes.grow.packages.oidc.core.TlsOptions
Returns whether certificate and host name verification is disabled (tests only).
insecureSkipVerify(boolean) - Method in class codes.grow.packages.oidc.core.TlsOptions.Builder
Disables certificate and host name verification.
integer(String, String...) - Method in class codes.grow.packages.oidc.core.EnvReader
Reads an integer.
isCleared() - Method in class codes.grow.packages.oidc.core.Secret
Returns whether Secret.clear() was called.
isClosed() - Method in class codes.grow.packages.oidc.core.HttpTransport
Returns whether HttpTransport.close() was called.
isClosed() - Method in class codes.grow.packages.oidc.OidcClient
Returns whether OidcClient.close() was called.
isCustom() - Method in class codes.grow.packages.oidc.core.TlsOptions
Returns whether any option differs from the system defaults.
isEmpty() - Method in class codes.grow.packages.oidc.core.Secret
Returns whether the value is empty.
isSensitiveField(String, Collection<String>) - Static method in class codes.grow.packages.oidc.core.Redaction
Returns whether a field or query parameter name is sensitive (case-insensitive substring).
isSensitiveHeader(String) - Static method in class codes.grow.packages.oidc.core.Redaction
Returns whether a header name is sensitive (case-insensitive).
issuer() - Method in class codes.grow.packages.oidc.oidctest.FakeIdp
The issuer URL.
issuer() - Method in class codes.grow.packages.oidc.Verifier
The expected issuer.
issuer(String) - Method in class codes.grow.packages.oidc.Verifier.Builder
Expected iss (exact, except that trailing slashes on either side are ignored); discovery uses <issuer without trailing slashes>/.well-known/openid-configuration.

J

json(TypeReference<T>) - Method in class codes.grow.packages.oidc.core.TransportResponse
Decodes the JSON body into a generic type.
json(Class<T>) - Method in class codes.grow.packages.oidc.core.TransportResponse
Decodes the JSON body.
json(Object) - Method in class codes.grow.packages.oidc.core.TransportRequest.Builder
Sets a JSON body encoded with Jackson.
Json - Class in codes.grow.packages.oidc.core
Shared Jackson configuration of the SDK.
jsonNode() - Method in class codes.grow.packages.oidc.core.TransportResponse
Parses the JSON body into a tree.
JUnitConformance - Class in codes.grow.packages.oidc.testing
JUnit 5 adapter: one dynamic test per scenario.
jwksCacheTtl(Duration) - Method in class codes.grow.packages.oidc.Verifier.Builder
JWKS cache lifetime; default 10 min.
jwksRefreshCooldown(Duration) - Method in class codes.grow.packages.oidc.Verifier.Builder
Minimum interval between unknown-kid refetches; default 30 s.
jwksUrl(String) - Method in class codes.grow.packages.oidc.Verifier.Builder
JWKS URL; skips discovery when set.

K

Key(String, String, PrivateKey, Map<String, Object>) - Constructor for record class codes.grow.packages.oidc.oidctest.FakeIdp.Key
Creates an instance of a Key record class.
KEY - Static variable in class codes.grow.packages.oidc.core.SdkInfo
Catalog key of the service, e.g.
keys() - Method in class codes.grow.packages.oidc.oidctest.FakeIdp
The published keys.
kid() - Method in record class codes.grow.packages.oidc.oidctest.FakeIdp.Key
Returns the value of the kid record component.
knownSecrets() - Method in class codes.grow.packages.oidc.core.TransportConfig
Returns the secret values removed from every error message, hook and log line.
knownSecrets(Supplier<Collection<String>>) - Method in class codes.grow.packages.oidc.core.TransportConfig.Builder
Sets the supplier of secret values to redact from errors, hooks and logs.

L

LANGUAGE - Static variable in class codes.grow.packages.oidc.core.SdkInfo
Language token in the User-Agent.
logger() - Method in class codes.grow.packages.oidc.core.TransportConfig
Returns the logger.
logger() - Method in class codes.grow.packages.oidc.OidcConfig
Returns the logger.
logger(Logger) - Method in class codes.grow.packages.oidc.core.TransportConfig.Builder
Sets the logger.
logger(Logger) - Method in class codes.grow.packages.oidc.OidcClient.Builder
Sets the logger.
logger(Logger) - Method in class codes.grow.packages.oidc.OidcConfig.Builder
Sets the logger (default silent).
Logger - Interface in codes.grow.packages.oidc.core
Minimal logger used by the transport (SPEC section 2.5).

M

map(TransportResponse, OidcException) - Method in interface codes.grow.packages.oidc.core.ErrorMapper
Maps a failed response.
mapper() - Static method in class codes.grow.packages.oidc.core.Json
Returns the shared mapper.
MAX_VENDOR_TEXT - Static variable in class codes.grow.packages.oidc.core.Redaction
Maximum length of vendor error text kept in error messages.
maxBackoff() - Method in class codes.grow.packages.oidc.core.RetryPolicy
Returns the upper bound of any backoff.
maxBackoff(Duration) - Method in class codes.grow.packages.oidc.core.RetryPolicy.Builder
Sets the upper bound of every backoff.
maxRetries() - Method in class codes.grow.packages.oidc.core.RetryPolicy
Returns the maximum number of retries after the first attempt.
maxRetries() - Method in class codes.grow.packages.oidc.core.TransportRequest
Returns the retry limit override.
maxRetries(int) - Method in class codes.grow.packages.oidc.core.RetryPolicy.Builder
Sets the maximum number of retries.
maxRetries(int) - Method in class codes.grow.packages.oidc.core.TransportRequest.Builder
Overrides the retry limit for this call.
maxRetryAfter() - Method in class codes.grow.packages.oidc.core.RetryPolicy
Returns the longest Retry-After wait the client accepts.
maxRetryAfter(Duration) - Method in class codes.grow.packages.oidc.core.RetryPolicy.Builder
Sets the longest accepted Retry-After.
message() - Method in record class codes.grow.packages.oidc.testing.ConformanceReport.StepResult
Returns the value of the message record component.
method() - Method in record class codes.grow.packages.oidc.core.Hooks.ErrorInfo
Returns the value of the method record component.
method() - Method in record class codes.grow.packages.oidc.core.Hooks.RequestInfo
Returns the value of the method record component.
method() - Method in record class codes.grow.packages.oidc.core.Hooks.ResponseInfo
Returns the value of the method record component.
method() - Method in class codes.grow.packages.oidc.core.TransportRequest
Returns the HTTP method.
mint(Map<String, Object>) - Method in class codes.grow.packages.oidc.oidctest.FakeIdp
Mints a token with the current key and a 5 minute lifetime.
mint(Map<String, Object>, String, Map<String, Object>, long) - Method in class codes.grow.packages.oidc.oidctest.FakeIdp
Mints a token.
multiplier() - Method in class codes.grow.packages.oidc.core.RetryPolicy
Returns the exponential growth factor.
multiplier(double) - Method in class codes.grow.packages.oidc.core.RetryPolicy.Builder
Sets the exponential growth factor.

N

name() - Method in record class codes.grow.packages.oidc.AuthUser
Returns the value of the name record component.
none() - Static method in class codes.grow.packages.oidc.core.RetryPolicy
Returns a policy that never retries.
NONE - Static variable in interface codes.grow.packages.oidc.core.ErrorMapper
Keeps the default error.
NONE - Static variable in interface codes.grow.packages.oidc.core.Hooks
Hooks that do nothing.
NOOP - Static variable in interface codes.grow.packages.oidc.core.Logger
A logger that discards everything.
NOT_FOUND - Enum constant in enum class codes.grow.packages.oidc.core.ErrorCode
HTTP 404 or a missing record.
NotFoundException - Exception Class in codes.grow.packages.oidc.core
The record does not exist (HTTP 404).
NotFoundException(String) - Constructor for exception class codes.grow.packages.oidc.core.NotFoundException
Creates the exception.
NotFoundException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.NotFoundException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
NotFoundException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.NotFoundException
Creates the exception with response details.
NotFoundException(String, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.NotFoundException
Creates the exception with a cause.

O

of(char[]) - Static method in class codes.grow.packages.oidc.core.Secret
Wraps a copy of a character array; the caller may clear its own array afterwards.
of(ErrorCode, String, Integer, String, boolean, Duration, Throwable) - Static method in exception class codes.grow.packages.oidc.core.OidcException
Like OidcException.of(ErrorCode, String, Integer, String, Duration, Throwable) with an explicit retryable flag instead of the default of the code.
of(ErrorCode, String, Integer, String, Duration, Throwable) - Static method in exception class codes.grow.packages.oidc.core.OidcException
Creates the subclass that matches code.
of(Object) - Static method in class codes.grow.packages.oidc.testing.OpResult
Wraps a value.
of(String) - Static method in class codes.grow.packages.oidc.core.Secret
Wraps a string value.
of(Throwable) - Static method in enum class codes.grow.packages.oidc.core.ErrorCode
Returns the code of an SDK exception.
of(Map<String, String>) - Static method in class codes.grow.packages.oidc.core.EnvReader
Creates a reader with EnvReader.DEFAULT_PREFIX over an explicit map.
OidcClient - Class in codes.grow.packages.oidc
Client for OIDC.
OidcClient.Builder - Class in codes.grow.packages.oidc
Builder that configures and creates a client in one chain.
OidcConfig - Class in codes.grow.packages.oidc
Immutable configuration of a OidcClient (SPEC section 2.2).
OidcConfig.Builder - Class in codes.grow.packages.oidc
Builder of the configuration.
OidcException - Exception Class in codes.grow.packages.oidc.core
Base class of every error raised by the OIDC SDK (SPEC section 2.1).
OidcException(ErrorCode, String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.OidcException
Creates an exception.
OidcFilter - Class in codes.grow.packages.oidc.servlet
Jakarta Servlet filter: verifies the bearer token and exposes the user as the request attribute OidcFilter.USER_ATTRIBUTE, getUserPrincipal() and isUserInRole().
OidcFilter(Verifier) - Constructor for class codes.grow.packages.oidc.servlet.OidcFilter
Filter that requires a valid token except on OidcFilter.DEFAULT_PUBLIC_PATHS.
OidcFilter(Verifier, boolean, List<String>) - Constructor for class codes.grow.packages.oidc.servlet.OidcFilter
Filter with explicit options.
ok() - Static method in record class codes.grow.packages.oidc.core.HealthStatus
A healthy ok status without details.
onError(Hooks.ErrorInfo) - Method in interface codes.grow.packages.oidc.core.Hooks
Called when an attempt failed (network error, timeout or error status).
only(String...) - Method in class codes.grow.packages.oidc.testing.ConformanceRunner.Builder
Restricts the run to these scenario ids.
onRequest(Hooks.RequestInfo) - Method in interface codes.grow.packages.oidc.core.Hooks
Called before each attempt.
onResponse(Hooks.ResponseInfo) - Method in interface codes.grow.packages.oidc.core.Hooks
Called when an attempt received a response (any status).
op() - Method in record class codes.grow.packages.oidc.testing.ConformanceReport.StepResult
Returns the value of the op record component.
op() - Method in record class codes.grow.packages.oidc.testing.Scenario.Step
Returns the value of the op record component.
op(String, String, OpHandler) - Method in class codes.grow.packages.oidc.testing.ConformanceRunner.Builder
Registers one operation.
operation() - Method in class codes.grow.packages.oidc.core.TransportRequest
Returns the operation name used in error messages.
operation(String) - Method in class codes.grow.packages.oidc.core.TransportRequest.Builder
Sets the operation name used in error messages.
OpHandler - Interface in codes.grow.packages.oidc.testing
Executes one scenario step and returns its result (or an OpResult).
OpResult - Class in codes.grow.packages.oidc.testing
A step result with optional extra views for the expectations count and tree.
ops() - Method in interface codes.grow.packages.oidc.testing.ConformanceOps
Returns the handlers by operation name.
ops() - Method in class codes.grow.packages.oidc.testing.CoreOps
 
optArg(String) - Method in class codes.grow.packages.oidc.testing.StepContext
Returns an optional argument.

P

parse(JsonNode) - Static method in record class codes.grow.packages.oidc.testing.Scenario
Parses a scenario document.
parseBool(String) - Static method in class codes.grow.packages.oidc.core.EnvReader
Parses a boolean: true/false/1/0/yes/no/on/off, case-insensitive.
parseDuration(String) - Static method in class codes.grow.packages.oidc.core.EnvReader
Parses a duration: integer milliseconds (1500) or Go-style units (500ms, 10s, 2m, 1h, 1m30s).
parseRateLimitReset(String, Instant) - Static method in class codes.grow.packages.oidc.core.RetryPolicy
Parses a vendor rate-limit reset header such as X-RateLimit-Reset: delay seconds (decimals allowed), Unix epoch seconds (values of at least 1000000000) or an HTTP-date.
parseRetryAfter(String, Instant) - Static method in class codes.grow.packages.oidc.core.RetryPolicy
Parses a Retry-After header: delay seconds or an HTTP-date.
passed() - Method in record class codes.grow.packages.oidc.testing.ConformanceReport
Returns whether no scenario failed.
PASSED - Enum constant in enum class codes.grow.packages.oidc.testing.ConformanceReport.Status
Every expectation held.
path() - Method in class codes.grow.packages.oidc.core.TransportRequest
Returns the path.
PERMISSION_DENIED - Enum constant in enum class codes.grow.packages.oidc.core.ErrorCode
HTTP 403: the credentials lack a permission.
PermissionDeniedException - Exception Class in codes.grow.packages.oidc.core
The credentials lack a permission (HTTP 403).
PermissionDeniedException(String) - Constructor for exception class codes.grow.packages.oidc.core.PermissionDeniedException
Creates the exception.
PermissionDeniedException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.PermissionDeniedException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
PermissionDeniedException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.PermissionDeniedException
Creates the exception with response details.
PermissionDeniedException(String, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.PermissionDeniedException
Creates the exception with a cause.
ping() - Method in class codes.grow.packages.oidc.OidcClient
Performs an authenticated round trip with the configured access token: GET the provider's userinfo_endpoint from discovery.
ping() - Method in interface codes.grow.packages.oidc.testing.CoreTarget
Performs an authenticated round trip.
pingAsync() - Method in class codes.grow.packages.oidc.OidcClient
Asynchronous OidcClient.ping().
poll(String, Duration) - Method in class codes.grow.packages.oidc.testing.ConformanceRunner.Builder
Repeats a failing step of op until its expectation passes or timeout (or the step's timeoutMs argument) runs out, for eventually consistent backends.
Poll - Class in codes.grow.packages.oidc.core
Generic polling helper (pollUntil): used by waitForLog, waitForTrace and service waiters.
pollInterval(Duration) - Method in class codes.grow.packages.oidc.testing.ConformanceRunner.Builder
Sets the pause between repeated steps (default ConformanceRunner.DEFAULT_POLL_INTERVAL).
post(String) - Static method in class codes.grow.packages.oidc.core.TransportRequest
Starts a POST request.
prefix(String) - Method in class codes.grow.packages.oidc.testing.ConformanceRunner.Builder
Sets the ${prefix} template (may contain ${run}).
privateKey() - Method in record class codes.grow.packages.oidc.oidctest.FakeIdp.Key
Returns the value of the privateKey record component.
proxy() - Method in class codes.grow.packages.oidc.core.TransportConfig
Returns the proxy URL.
proxy() - Method in class codes.grow.packages.oidc.OidcConfig
Returns the explicit proxy URL.
proxy(String) - Method in class codes.grow.packages.oidc.core.TransportConfig.Builder
Sets an explicit HTTP proxy URL, e.g.
proxy(String) - Method in class codes.grow.packages.oidc.OidcClient.Builder
Sets the proxy URL.
proxy(String) - Method in class codes.grow.packages.oidc.OidcConfig.Builder
Sets an explicit proxy URL; environment proxies (HTTPS_PROXY) are never used.
publicJwk() - Method in record class codes.grow.packages.oidc.oidctest.FakeIdp.Key
Returns the value of the publicJwk record component.
put(String) - Static method in class codes.grow.packages.oidc.core.TransportRequest
Starts a PUT request.

Q

query() - Method in class codes.grow.packages.oidc.core.TransportRequest
Returns the query parameters in insertion order.
query(String, Object) - Method in class codes.grow.packages.oidc.core.TransportRequest.Builder
Adds a query parameter (repeatable).

R

random(RandomGenerator) - Method in class codes.grow.packages.oidc.core.RetryPolicy.Builder
Injects the random source used for jitter (tests).
RATE_LIMITED - Enum constant in enum class codes.grow.packages.oidc.core.ErrorCode
HTTP 429.
RateLimitException - Exception Class in codes.grow.packages.oidc.core
The service rate-limited the call (HTTP 429); see OidcException.retryAfter().
RateLimitException(String) - Constructor for exception class codes.grow.packages.oidc.core.RateLimitException
Creates the exception.
RateLimitException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.RateLimitException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
RateLimitException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.RateLimitException
Creates the exception with response details.
RateLimitException(String, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.RateLimitException
Creates the exception with a cause.
raw() - Method in record class codes.grow.packages.oidc.testing.Scenario
Returns the value of the raw record component.
reason() - Method in record class codes.grow.packages.oidc.testing.ConformanceReport.ScenarioResult
Returns the value of the reason record component.
REDACTED - Static variable in class codes.grow.packages.oidc.core.Redaction
Replacement for every redacted value.
redactFields(Map<String, ?>) - Static method in class codes.grow.packages.oidc.core.Redaction
Same as Redaction.redactFields(Map, Collection) without extra keys.
redactFields(Map<String, ?>, Collection<String>) - Static method in class codes.grow.packages.oidc.core.Redaction
Returns a deep copy of a structure with the values of sensitive keys replaced; recurses into nested maps and lists.
redactHeaderLists(Map<String, List<String>>) - Static method in class codes.grow.packages.oidc.core.Redaction
Returns a copy of multi-valued headers with sensitive values replaced.
redactHeaders(Map<String, String>) - Static method in class codes.grow.packages.oidc.core.Redaction
Returns a copy of single-valued headers with sensitive values replaced.
Redaction - Class in codes.grow.packages.oidc.core
Redaction helpers for headers, URLs, structured fields and free text (SPEC section 2.6).
redactText(String, Collection<String>) - Static method in class codes.grow.packages.oidc.core.Redaction
Replaces every occurrence of each known secret value (length 4 or more) with "[REDACTED]".
redactUrl(String) - Static method in class codes.grow.packages.oidc.core.Redaction
Redacts user-info passwords and the values of sensitive query parameters in a URL.
register(ConformanceOps) - Method in class codes.grow.packages.oidc.testing.ConformanceRunner.Builder
Registers (or overrides) operations of a category.
register(AutoCloseable) - Method in class codes.grow.packages.oidc.OidcClient
Registers a resource (watcher, renewer, batch processor) closed with the client.
relativeEndpoint(String, String) - Static method in class codes.grow.packages.oidc.OidcClient
Path of an endpoint relative to the provider URL: the part after the provider URL when the endpoint starts with it (keeps realm prefixes out), else the endpoint's own path and query.
removeKey(String) - Method in class codes.grow.packages.oidc.oidctest.FakeIdp
Stops publishing a key.
REQUEST_ID_HEADERS - Static variable in class codes.grow.packages.oidc.core.HttpTransport
Response headers that carry a vendor request id, in lookup order.
requestId() - Method in record class codes.grow.packages.oidc.core.Hooks.ResponseInfo
Returns the value of the requestId record component.
requestId() - Method in exception class codes.grow.packages.oidc.core.OidcException
Returns the vendor request id header of the failed response.
requestId() - Method in class codes.grow.packages.oidc.core.TransportResponse
Returns the vendor request id header.
RequestInfo(String, String, Map<String, List<String>>, int) - Constructor for record class codes.grow.packages.oidc.core.Hooks.RequestInfo
Creates an instance of a RequestInfo record class.
requestTimeout() - Method in class codes.grow.packages.oidc.core.TransportConfig
Returns the per-attempt timeout.
requestTimeout() - Method in class codes.grow.packages.oidc.OidcConfig
Returns the per-attempt timeout.
requestTimeout(Duration) - Method in class codes.grow.packages.oidc.core.TransportConfig.Builder
Sets the per-attempt timeout.
requestTimeout(Duration) - Method in class codes.grow.packages.oidc.OidcClient.Builder
Sets the per-attempt timeout.
requestTimeout(Duration) - Method in class codes.grow.packages.oidc.OidcConfig.Builder
Sets the per-attempt timeout (default 30 s).
RequireRolesFilter - Class in codes.grow.packages.oidc.servlet
Servlet filter placed after OidcFilter: 401 without a user, 403 unless the user has at least one of the roles (case-insensitive).
RequireRolesFilter(String...) - Constructor for class codes.grow.packages.oidc.servlet.RequireRolesFilter
Creates the filter.
requires() - Method in record class codes.grow.packages.oidc.testing.Scenario
Returns the value of the requires record component.
requires() - Method in record class codes.grow.packages.oidc.testing.Scenario.Step
Returns the value of the requires record component.
resolve(String, Map<String, List<String>>) - Method in class codes.grow.packages.oidc.core.HttpTransport
Resolves a request path and query against the base URL.
ResponseInfo(String, String, int, long, int, Optional<String>) - Constructor for record class codes.grow.packages.oidc.core.Hooks.ResponseInfo
Creates an instance of a ResponseInfo record class.
retry() - Method in class codes.grow.packages.oidc.core.TransportConfig
Returns the retry policy.
retry() - Method in class codes.grow.packages.oidc.OidcConfig
Returns the retry policy.
retry(RetryPolicy) - Method in class codes.grow.packages.oidc.core.TransportConfig.Builder
Sets the retry policy.
retry(RetryPolicy) - Method in class codes.grow.packages.oidc.OidcClient.Builder
Sets the retry policy.
retry(RetryPolicy) - Method in class codes.grow.packages.oidc.OidcConfig.Builder
Sets the retry policy (default RetryPolicy.defaults()).
retryable() - Method in enum class codes.grow.packages.oidc.core.ErrorCode
Returns whether errors with this code are retryable by default.
retryable() - Method in exception class codes.grow.packages.oidc.core.OidcException
Returns whether retrying the same call may succeed.
retryAfter() - Method in exception class codes.grow.packages.oidc.core.OidcException
Returns the wait the server asked for (Retry-After).
retryAfterHeaders() - Method in class codes.grow.packages.oidc.core.TransportConfig
Returns the vendor headers read as a retry hint when a 429 or 503 response has no Retry-After (for example X-RateLimit-Reset), parsed with RetryPolicy.parseRateLimitReset(java.lang.String, java.time.Instant).
retryAfterHeaders(String...) - Method in class codes.grow.packages.oidc.core.TransportConfig.Builder
Adds vendor headers read as a retry hint when a 429 or 503 response has no Retry-After (for example X-RateLimit-Reset).
RetryPolicy - Class in codes.grow.packages.oidc.core
Retry settings with full-jitter exponential backoff (SPEC section 2.3).
RetryPolicy.Builder - Class in codes.grow.packages.oidc.core
Builder for RetryPolicy.
reveal() - Method in class codes.grow.packages.oidc.core.Secret
Returns the credential as a string.
revealChars() - Method in class codes.grow.packages.oidc.core.Secret
Returns a copy of the credential characters.
roles() - Method in record class codes.grow.packages.oidc.AuthUser
Returns the value of the roles record component.
Roles - Class in codes.grow.packages.oidc
Roles extraction shared by the verifier and the servlet filters.
rolesClaim() - Method in class codes.grow.packages.oidc.Verifier
The roles claim path.
rolesClaim(String) - Method in class codes.grow.packages.oidc.Verifier.Builder
Claim (or dotted path) holding the roles; default roles.
rotate(String) - Method in class codes.grow.packages.oidc.oidctest.FakeIdp
Adds a new current key; older keys stay published until FakeIdp.removeKey(java.lang.String).
run() - Method in class codes.grow.packages.oidc.testing.ConformanceRunner
Runs every selected scenario.
run(StepContext) - Method in interface codes.grow.packages.oidc.testing.OpHandler
Runs the step.
runScenario(Scenario) - Method in class codes.grow.packages.oidc.testing.ConformanceRunner
Runs one scenario.

S

sameValue(Secret) - Method in class codes.grow.packages.oidc.core.Secret
Compares the values in constant time.
save() - Method in record class codes.grow.packages.oidc.testing.Scenario.Step
Returns the value of the save record component.
scenario() - Method in class codes.grow.packages.oidc.testing.StepContext
Returns the running scenario.
Scenario - Record Class in codes.grow.packages.oidc.testing
A parsed conformance scenario (conformance/scenarios/*.json).
Scenario(String, String, String, List<String>, List<Scenario.Step>, JsonNode) - Constructor for record class codes.grow.packages.oidc.testing.Scenario
Creates a scenario; lists are copied.
Scenario.Step - Record Class in codes.grow.packages.oidc.testing
One step of a scenario.
scenarioDir(Path) - Method in class codes.grow.packages.oidc.testing.ConformanceRunner.Builder
Reads scenarios from this directory instead of searching for conformance/scenarios.
ScenarioResult(String, String, ConformanceReport.Status, String, List<ConformanceReport.StepResult>, long) - Constructor for record class codes.grow.packages.oidc.testing.ConformanceReport.ScenarioResult
Creates a result; the list is copied.
scenarios() - Method in record class codes.grow.packages.oidc.testing.ConformanceReport
Returns the value of the scenarios record component.
scenarios() - Method in class codes.grow.packages.oidc.testing.ConformanceRunner
Returns the scenarios of the categories that have a target, sorted by id.
SdkInfo - Class in codes.grow.packages.oidc.core
Package identity used in the User-Agent header.
Secret - Class in codes.grow.packages.oidc.core
A credential held in a char[] that never prints itself.
send(TransportRequest) - Method in class codes.grow.packages.oidc.core.HttpTransport
Executes a request with retries and returns a 2xx (or accepted) response.
sendAsync(TransportRequest) - Method in class codes.grow.packages.oidc.core.HttpTransport
Executes a request with retries asynchronously.
sendJson(TransportRequest) - Method in class codes.grow.packages.oidc.core.HttpTransport
Convenience: sends a request and decodes the JSON body.
serverVersion() - Method in class codes.grow.packages.oidc.OidcClient
OpenID Connect providers expose no version: always UnsupportedException.
serverVersion() - Method in interface codes.grow.packages.oidc.testing.CoreTarget
Returns the server version.
serverVersionAsync() - Method in class codes.grow.packages.oidc.OidcClient
serviceName(String) - Method in class codes.grow.packages.oidc.testing.ConformanceRunner.Builder
Sets ${serviceName} (the tracing service name the factory configured).
sign(FakeIdp.Key, byte[]) - Static method in class codes.grow.packages.oidc.oidctest.FakeIdp
Signs data in JWS form with a key.
SKIPPED - Enum constant in enum class codes.grow.packages.oidc.testing.ConformanceReport.Status
A required capability was not declared.
source(String, String...) - Method in class codes.grow.packages.oidc.core.EnvReader
Returns the name of the first variable that is set, for error messages.
sslContext() - Method in class codes.grow.packages.oidc.core.TlsOptions
Builds the SSL context for these options.
start(String, String) - Static method in class codes.grow.packages.oidc.oidctest.FakeIdp
Starts a fake IdP with one key.
status() - Method in record class codes.grow.packages.oidc.core.HealthStatus
Returns the value of the status record component.
status() - Method in record class codes.grow.packages.oidc.core.Hooks.ResponseInfo
Returns the value of the status record component.
status() - Method in class codes.grow.packages.oidc.core.TransportResponse
Returns the HTTP status.
status() - Method in record class codes.grow.packages.oidc.testing.ConformanceReport.ScenarioResult
Returns the value of the status record component.
status() - Method in record class codes.grow.packages.oidc.testing.ConformanceReport.StepResult
Returns the value of the status record component.
step() - Method in class codes.grow.packages.oidc.testing.StepContext
Returns the current step.
Step(String, JsonNode, JsonNode, String, List<String>) - Constructor for record class codes.grow.packages.oidc.testing.Scenario.Step
Creates a step; the list is copied.
StepContext - Class in codes.grow.packages.oidc.testing
Everything an OpHandler needs for one step.
StepResult(int, String, ConformanceReport.Status, String) - Constructor for record class codes.grow.packages.oidc.testing.ConformanceReport.StepResult
Creates an instance of a StepResult record class.
steps() - Method in record class codes.grow.packages.oidc.testing.ConformanceReport.ScenarioResult
Returns the value of the steps record component.
steps() - Method in record class codes.grow.packages.oidc.testing.Scenario
Returns the value of the steps record component.
string(String, String...) - Method in class codes.grow.packages.oidc.core.EnvReader
Reads a string.
stringify(Object) - Static method in class codes.grow.packages.oidc.core.Json
Encodes a value as a JSON string.
sub() - Method in record class codes.grow.packages.oidc.AuthUser
Returns the value of the sub record component.
substitute(String) - Method in class codes.grow.packages.oidc.testing.StepContext
Substitutes ${name} variables in a string.
substitute(String, Map<String, String>) - Static method in class codes.grow.packages.oidc.testing.ConformanceRunner
Replaces ${name} placeholders; unknown names are kept as they are.
substituteNode(JsonNode, Map<String, String>) - Static method in class codes.grow.packages.oidc.testing.ConformanceRunner
Substitutes placeholders in every string (and object key) of a JSON tree.
summary() - Method in record class codes.grow.packages.oidc.testing.ConformanceReport
Returns a multi-line summary listing every scenario.
system() - Static method in class codes.grow.packages.oidc.core.EnvReader
Creates a reader with EnvReader.DEFAULT_PREFIX over the process environment.

T

target() - Method in class codes.grow.packages.oidc.testing.StepContext
Returns the scenario target.
target(Class<T>) - Method in class codes.grow.packages.oidc.testing.StepContext
Returns the target cast to a type.
target(String, TargetFactory) - Method in class codes.grow.packages.oidc.testing.ConformanceRunner.Builder
Sets the target factory of a category; categories without a target do not run.
TargetFactory - Interface in codes.grow.packages.oidc.testing
Creates the object a scenario runs against (client, provider, log client, tracing handle).
text() - Method in class codes.grow.packages.oidc.core.TransportResponse
Returns the body decoded as UTF-8.
timeout() - Method in class codes.grow.packages.oidc.core.TransportRequest
Returns the per-attempt timeout override.
timeout(Duration) - Method in class codes.grow.packages.oidc.core.TransportRequest.Builder
Overrides the per-attempt timeout for this call.
TIMEOUT - Enum constant in enum class codes.grow.packages.oidc.core.ErrorCode
Connect, request or total deadline exceeded, HTTP 408 or 504.
TimeoutException - Exception Class in codes.grow.packages.oidc.core
A connect, request or total deadline was exceeded (or HTTP 408, 504).
TimeoutException(String) - Constructor for exception class codes.grow.packages.oidc.core.TimeoutException
Creates the exception.
TimeoutException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.TimeoutException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
TimeoutException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.TimeoutException
Creates the exception with response details.
TimeoutException(String, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.TimeoutException
Creates the exception with a cause.
tls() - Method in class codes.grow.packages.oidc.core.TransportConfig
Returns the TLS options.
tls() - Method in class codes.grow.packages.oidc.OidcConfig
Returns the TLS options.
tls(TlsOptions) - Method in class codes.grow.packages.oidc.core.TransportConfig.Builder
Sets the TLS options.
tls(TlsOptions) - Method in class codes.grow.packages.oidc.OidcClient.Builder
Sets the TLS options.
tls(TlsOptions) - Method in class codes.grow.packages.oidc.OidcConfig.Builder
Sets the TLS options; environment TLS variables are then ignored.
TlsOptions - Class in codes.grow.packages.oidc.core
TLS settings: custom CA, client certificate (mutual TLS) and the test-only insecureSkipVerify.
TlsOptions.Builder - Class in codes.grow.packages.oidc.core
Builder for TlsOptions.
toBuilder() - Method in class codes.grow.packages.oidc.core.RetryPolicy
Returns a builder initialised from this policy.
toBuilder() - Method in class codes.grow.packages.oidc.core.TlsOptions
Returns a builder initialised from these options.
token() - Method in class codes.grow.packages.oidc.OidcConfig
Returns the API token.
token(Secret) - Method in class codes.grow.packages.oidc.OidcClient.Builder
Sets the API token.
token(Secret) - Method in class codes.grow.packages.oidc.OidcConfig.Builder
Sets the API token.
token(String) - Method in class codes.grow.packages.oidc.OidcClient.Builder
Sets the API token.
token(String) - Method in class codes.grow.packages.oidc.OidcConfig.Builder
Sets the API token.
toString() - Method in record class codes.grow.packages.oidc.AuthUser
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.oidc.core.HealthStatus
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.oidc.core.Hooks.ErrorInfo
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.oidc.core.Hooks.RequestInfo
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.oidc.core.Hooks.ResponseInfo
Returns a string representation of this record class.
toString() - Method in class codes.grow.packages.oidc.core.RetryPolicy
 
toString() - Method in class codes.grow.packages.oidc.core.Secret
Always "[REDACTED]".
toString() - Method in class codes.grow.packages.oidc.core.TlsOptions
 
toString() - Method in class codes.grow.packages.oidc.core.TransportResponse
 
toString() - Method in class codes.grow.packages.oidc.OidcClient
 
toString() - Method in class codes.grow.packages.oidc.OidcConfig
 
toString() - Method in record class codes.grow.packages.oidc.oidctest.FakeIdp.Key
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.oidc.testing.ConformanceReport.ScenarioResult
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.oidc.testing.ConformanceReport.StepResult
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.oidc.testing.ConformanceReport
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.oidc.testing.Scenario.Step
Returns a string representation of this record class.
toString() - Method in record class codes.grow.packages.oidc.testing.Scenario
Returns a string representation of this record class.
totalTimeout() - Method in class codes.grow.packages.oidc.core.TransportConfig
Returns the budget of a whole call including retries and backoff.
totalTimeout() - Method in class codes.grow.packages.oidc.OidcConfig
Returns the total timeout per call including retries.
totalTimeout(Duration) - Method in class codes.grow.packages.oidc.core.TransportConfig.Builder
Sets the total budget per call.
totalTimeout(Duration) - Method in class codes.grow.packages.oidc.OidcClient.Builder
Sets the total timeout.
totalTimeout(Duration) - Method in class codes.grow.packages.oidc.OidcConfig.Builder
Sets the total timeout per call including retries (default 120 s).
toTransportConfig() - Method in class codes.grow.packages.oidc.OidcConfig
Translates the common fields into transport settings.
transport() - Method in class codes.grow.packages.oidc.OidcClient
Returns the HTTP transport, for service modules built on this client.
TransportConfig - Class in codes.grow.packages.oidc.core
Settings of one HttpTransport.
TransportConfig.Builder - Class in codes.grow.packages.oidc.core
Builder for TransportConfig.
TransportRequest - Class in codes.grow.packages.oidc.core
One logical HTTP call executed by HttpTransport (with retries).
TransportRequest.Builder - Class in codes.grow.packages.oidc.core
Builder for TransportRequest.
TransportResponse - Class in codes.grow.packages.oidc.core
A response returned by HttpTransport (2xx or an accepted status).
TransportResponse(int, Map<String, List<String>>, byte[], int, Duration, String) - Constructor for class codes.grow.packages.oidc.core.TransportResponse
Creates a response (used by the transport and by tests).
tree() - Method in class codes.grow.packages.oidc.testing.OpResult
Returns the tree view.
tree(byte[]) - Static method in class codes.grow.packages.oidc.core.Json
Parses JSON bytes into a tree.
truncate(String, int) - Static method in class codes.grow.packages.oidc.core.Redaction
Truncates text to max characters, appending an ellipsis when cut.

U

UNAVAILABLE - Enum constant in enum class codes.grow.packages.oidc.core.ErrorCode
Network error or HTTP 500, 502, 503.
UnavailableException - Exception Class in codes.grow.packages.oidc.core
Network error or HTTP 500, 502, 503.
UnavailableException(String) - Constructor for exception class codes.grow.packages.oidc.core.UnavailableException
Creates the exception.
UnavailableException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.UnavailableException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
UnavailableException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.UnavailableException
Creates the exception with response details.
UnavailableException(String, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.UnavailableException
Creates the exception with a cause.
unreachable(String) - Static method in record class codes.grow.packages.oidc.core.HealthStatus
The status for a service that could not be reached.
UNSUPPORTED - Enum constant in enum class codes.grow.packages.oidc.core.ErrorCode
A capability the service or deployment does not offer (HTTP 501).
UnsupportedException - Exception Class in codes.grow.packages.oidc.core
The service or deployment does not offer this capability (HTTP 501).
UnsupportedException(String) - Constructor for exception class codes.grow.packages.oidc.core.UnsupportedException
Creates the exception.
UnsupportedException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.UnsupportedException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
UnsupportedException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.UnsupportedException
Creates the exception with response details.
UnsupportedException(String, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.UnsupportedException
Creates the exception with a cause.
until(String, Duration, Duration, Callable<Optional<T>>) - Static method in class codes.grow.packages.oidc.core.Poll
Calls attempt every interval until it returns a value or timeout passes.
untilAsync(String, Duration, Duration, Supplier<CompletableFuture<Optional<T>>>) - Static method in class codes.grow.packages.oidc.core.Poll
url() - Method in record class codes.grow.packages.oidc.core.Hooks.ErrorInfo
Returns the value of the url record component.
url() - Method in record class codes.grow.packages.oidc.core.Hooks.RequestInfo
Returns the value of the url record component.
url() - Method in record class codes.grow.packages.oidc.core.Hooks.ResponseInfo
Returns the value of the url record component.
url() - Method in class codes.grow.packages.oidc.OidcConfig
Returns the endpoint base URL.
url(String) - Method in class codes.grow.packages.oidc.OidcClient.Builder
Sets the endpoint base URL.
url(String) - Method in class codes.grow.packages.oidc.OidcConfig.Builder
Sets the endpoint base URL.
user(ServletRequest) - Static method in class codes.grow.packages.oidc.servlet.OidcFilter
Returns the user stored by this filter.
USER_ATTRIBUTE - Static variable in class codes.grow.packages.oidc.servlet.OidcFilter
Request attribute holding the AuthUser.
userAgent() - Static method in class codes.grow.packages.oidc.core.SdkInfo
Returns the standard user agent: grow-codes-<key>/<version> (java).
userAgent() - Method in class codes.grow.packages.oidc.core.TransportConfig
Returns the full User-Agent header value.
userAgentSuffix() - Method in class codes.grow.packages.oidc.core.TransportConfig
Returns the user agent suffix.
userAgentSuffix() - Method in class codes.grow.packages.oidc.OidcConfig
Returns the user agent suffix.
userAgentSuffix(String) - Method in class codes.grow.packages.oidc.core.TransportConfig.Builder
Sets the text appended to the standard user agent.
userAgentSuffix(String) - Method in class codes.grow.packages.oidc.OidcClient.Builder
Sets the user agent suffix.
userAgentSuffix(String) - Method in class codes.grow.packages.oidc.OidcConfig.Builder
Sets the text appended to the User-Agent.

V

validate() - Method in class codes.grow.packages.oidc.core.TlsOptions
Checks that certificate and key come together.
validate() - Method in class codes.grow.packages.oidc.OidcConfig
Checks URL scheme, positive timeouts, retry limits and TLS pairs.
VALIDATION - Enum constant in enum class codes.grow.packages.oidc.core.ErrorCode
HTTP 400, 413, 422, other 4xx or bad input caught client side.
ValidationException - Exception Class in codes.grow.packages.oidc.core
The request or a value is invalid (HTTP 400, 413, 422, other 4xx).
ValidationException(String) - Constructor for exception class codes.grow.packages.oidc.core.ValidationException
Creates the exception.
ValidationException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.ValidationException
Creates the exception with response details and an explicit retryable flag, for service subclasses whose errors differ from the default of the code (for example a CONFLICT that may succeed when retried, or an UNAVAILABLE that will not).
ValidationException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.ValidationException
Creates the exception with response details.
ValidationException(String, Throwable) - Constructor for exception class codes.grow.packages.oidc.core.ValidationException
Creates the exception with a cause.
value() - Method in class codes.grow.packages.oidc.testing.OpResult
Returns the wrapped value.
valueOf(String) - Static method in enum class codes.grow.packages.oidc.core.ErrorCode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class codes.grow.packages.oidc.testing.ConformanceReport.Status
Returns the enum constant of this class with the specified name.
values() - Static method in enum class codes.grow.packages.oidc.core.ErrorCode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class codes.grow.packages.oidc.testing.ConformanceReport.Status
Returns an array containing the constants of this enum class, in the order they are declared.
variable(String) - Method in class codes.grow.packages.oidc.testing.StepContext
Returns a variable (run, prefix, serviceName or a saved name).
variable(String, String) - Method in class codes.grow.packages.oidc.testing.ConformanceRunner.Builder
Sets an extra variable, e.g.
Verifier - Class in codes.grow.packages.oidc
Verifies OIDC access tokens (JWT) against the issuer's JWKS.
Verifier.Builder - Class in codes.grow.packages.oidc
Builder of a Verifier.
verify(String) - Method in class codes.grow.packages.oidc.Verifier
Verifies a raw JWT access token.
verifyAsync(String) - Method in class codes.grow.packages.oidc.Verifier
VERSION - Static variable in class codes.grow.packages.oidc.core.SdkInfo
Package version (from the Maven build).
view(Object) - Static method in class codes.grow.packages.oidc.testing.Expectations
Returns the JSON view of a value used by equals, contains, type and sorted.

W

warn(String) - Method in interface codes.grow.packages.oidc.core.Logger
Logs at warn level without fields.
warn(String, Map<String, Object>) - Method in interface codes.grow.packages.oidc.core.Logger
Logs at warn level.
willRetry() - Method in record class codes.grow.packages.oidc.core.Hooks.ErrorInfo
Returns the value of the willRetry record component.
wireValue() - Method in enum class codes.grow.packages.oidc.core.ErrorCode
Returns the wire value used in conformance scenarios and JSON.
with(ConformanceReport.Status) - Method in record class codes.grow.packages.oidc.testing.ConformanceReport
Returns the scenarios with a status.
withCount(int) - Method in class codes.grow.packages.oidc.testing.OpResult
Returns a copy with an explicit count (e.g. the number of spans of a trace).
withTree(Map<String, List<String>>) - Method in class codes.grow.packages.oidc.testing.OpResult
Returns a copy with a parent-name to child-names view (span trees).
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form