Class OAuthClientMetadataCacheKey
java.lang.Object
com.revetsec.oauth.server.OAuthClientMetadataCacheKey
Bounded opaque address for optional client-metadata storage. Reconstructing an address grants no
authority. The core binds stable issuer/configuration and exact client identities; providers
preserve the string exactly.
- Since:
- 1.0.0
- Author:
- Mark Allen
-
Method Summary
Modifier and TypeMethodDescriptionbooleanCompares exact addresses.fromStoredForm(@NonNull String value) Reconstructs the current address format: fixed prefix, two canonical 32-byte base64url digests separated by a colon.Releases the opaque storage string; keep it out of logs and responses.inthashCode()Returns the address hash.toString()Redacts the address.
-
Method Details
-
fromStoredForm
Reconstructs the current address format: fixed prefix, two canonical 32-byte base64url digests separated by a colon. This checks bounded syntax only; it does not verify namespace or record authenticity.- Parameters:
value- the exact persisted string- Returns:
- the bounded address
- Throws:
NullPointerException- if value is nullIllegalArgumentException- if the format is invalid- Since:
- 1.0.0
-
getStorageKey
Releases the opaque storage string; keep it out of logs and responses.- Returns:
- the exact address
- Since:
- 1.0.0
-
equals
-
hashCode
-
toString
-