Class OAuthStoreTransaction
java.lang.Object
com.revetsec.oauth.server.OAuthStoreTransaction
Complete immutable issuer transaction, created only by the engine. Backends compare opaque versions exactly.
Every changed key has a condition; absence means ABSENT, never any version. All conditions and mutations
must linearize together. An empty mutation list is an authoritative status barrier.
- Since:
- 1.0.0
- Author:
- Mark Allen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn exact version or ABSENT predicate, engine-created and checked atomically with every other predicate.static final classAn engine-created PUT or REMOVE; PUT carries its exact key-matched entry and REMOVE carries no entry.static enumThe two explicit transaction modes. -
Method Summary
Modifier and TypeMethodDescriptionReturns the complete immutable predicate set.Returns the admitted authority/recovery identities required by every condition.Returns the complete immutable write set, possibly empty.Returns TIMED or the narrow existing permanent-fence transition purpose.Returns the required TIMED condition, or empty only for FENCE_ONLY.toString()Redacts every predicate and mutation.
-
Method Details
-
getPurpose
Returns TIMED or the narrow existing permanent-fence transition purpose.- Returns:
- the purpose
- Since:
- 1.0.0
-
getExpectedAdmission
Returns the admitted authority/recovery identities required by every condition.- Returns:
- expected admission
- Since:
- 1.0.0
-
getTemporalCondition
Returns the required TIMED condition, or empty only for FENCE_ONLY.- Returns:
- the temporal condition
- Since:
- 1.0.0
-
getConditions
Returns the complete immutable predicate set.- Returns:
- all conditions
- Since:
- 1.0.0
-
getMutations
Returns the complete immutable write set, possibly empty.- Returns:
- all mutations
- Since:
- 1.0.0
-
toString
-