Package com.revetsec.oauth.server
@NullMarked
package com.revetsec.oauth.server
Application contracts for OAuth authorization-server issuance. Endpoint operations are under implementation.
Applications own users, authentication, sessions, CSRF defenses, authorization policy and durable storage.
This package may depend on root, JSON, JOSE and OAuth; none of those packages depends on it.
- Author:
- Mark Allen
-
ClassDescriptionBounded single-process optional cache with timed interruptible locking and approximate LRU eviction.Trusted application authorization decision; it is not a verified authentication or token proof.Replacing decision builder.A library-created outcome.The library-created Completed outcome.The library-created Denied outcome.The library-created InteractionRequired outcome.A fixed rejection with no proof, request, credential, identity, claims or exception object.Caller-thread OAuth code issuer with authoritative online grant status.Mutable, non-thread-safe issuer configuration.Application-owned authoritative issuer persistence.Trusted bounded address resolution for opt-in client metadata retrieval.Thread-safe storage for bounded encrypted client-metadata carriers.Immutable bounded encrypted cache carrier.Fixed-diagnostic optional-cache failure, distinct from a miss or comparison conflict.The optional-cache failure reasons.Bounded opaque address for optional client-metadata storage.Immutable opt-in configuration for public client metadata documents.Builds an enabled policy; null property values reset defaults, except resolver and cache null clear required properties.Application-owned verification of a pre-registered confidential client's secret.Issuer-created grant facts supplied to the application's continuing authorization policy.Continuing application authorization policy, invoked outside store transactions at approval, code exchange and refresh.A library-created outcome.A fixed rejection with no proof, request, credential, identity, claims or exception object.The library-created Succeeded outcome.A library-created outcome.A fixed rejection with no proof, request, credential, identity, claims or exception object.The library-created Succeeded outcome.Trusted application-owned durable key lifecycle and distribution callback.Immutable application declaration of active, published and retained public keys.Builds a checked immutable declaration without signing or provider lookup.One application-owned RS256 signing key.A library-created outcome.A fixed rejection with no proof, request, credential, identity, claims or exception object.The library-created Succeeded outcome.Trusted registered-client authentication policy: public authentication or confidential client_secret_basic.Immutable application-owned client registration.Replacing, snapshotting registration builder.Application-owned lookup of trusted, pre-registered client configuration.A fixed configuration failure in issuer processing; construction is restricted to Revetsec.The sealed issuer exception family.Fixed classifications; a later release may add values.A restricted view of a checked, pending browser interaction.Safe synchronous caller-thread issuer events.Fixed operation kinds, without request or application data.An immutable, bounded response prepared by the authorization server.A fixed signing failure in issuer processing; construction is restricted to Revetsec.A fixed store failure in issuer processing; construction is restricted to Revetsec.A fixed transport failure in issuer processing; construction is restricted to Revetsec.A fixed validation failure in issuer processing; construction is restricted to Revetsec.Immutable factual issuer commitment, definitive refusal or uncertainty.Outcome of an atomic, durable issuer store commit.Immutable encrypted persistence carrier, not an authenticated authorization proof.Opaque issuer storage address.Issuer storage record kinds; a later release may add values.Coherent linearizable issuer entry/absence and admitted time metadata.The exact requested address, entry/absence and metadata from one atomic observation.The requested recovery/data incarnation cannot be served.No coherent authoritative observation could be established.Complete immutable issuer transaction, created only by the engine.An exact version or ABSENT predicate, engine-created and checked atomically with every other predicate.An engine-created PUT or REMOVE; PUT carries its exact key-matched entry and REMOVE carries no entry.The two mutation operations.The two explicit transaction modes.A library-created outcome.A fixed rejection with no proof, request, credential, identity, claims or exception object.The library-created Succeeded outcome.