Class OAuthServerInteraction
java.lang.Object
com.revetsec.oauth.server.OAuthServerInteraction
A restricted view of a checked, pending browser interaction. The application owns login, session fixation
and CSRF protection. The secret interaction handle is not a subject or proof of user authentication.
Client display text is untrusted and must be escaped. Identity equality and diagnostics disclose no data.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the checked client identifier.Returns optional untrusted display text that the application must escape.Returns the pending interaction expiry; completion rechecks current authoritative state.Returns the secret continuation handle; use only inside the protected application session.Returns the exact checked return destination for display, without state or issued credentials.Returns the immutable exact requested resource and scopes for explicit application approval.toString()Returns a fixed redacted description.
-
Method Details
-
getInteractionValue
Returns the secret continuation handle; use only inside the protected application session.- Returns:
- secret continuation handle
- Since:
- 1.0.0
-
getClientId
Returns the checked client identifier.- Returns:
- checked client identifier
- Since:
- 1.0.0
-
getClientName
Returns optional untrusted display text that the application must escape.- Returns:
- optional display text
- Since:
- 1.0.0
-
getRedirectUri
Returns the exact checked return destination for display, without state or issued credentials.- Returns:
- selected registered redirect URI
- Since:
- 1.0.0
-
getRequestedScopesByResource
-
getExpiresAt
Returns the pending interaction expiry; completion rechecks current authoritative state.- Returns:
- expiry instant
- Since:
- 1.0.0
-
toString
-