Class AuthorizationRedirect
java.lang.Object
com.revetsec.oauth.AuthorizationRedirect
A browser redirect and its pending authorization. The authorization URI contains transient state and must not be
logged. Store or seal the pending object before sending the redirect. Applications set and clear cookies.
- Since:
- 1.0.0
- Author:
- Mark Allen
-
Method Summary
Modifier and TypeMethodDescriptionReturns the browser redirect URI, including state and PKCE challenge.Returns the pending authorization to seal or store.Returns an optional per-flow cookie name.toString()Redacts the authorization URI and pending secrets.
-
Method Details
-
getAuthorizationUri
Returns the browser redirect URI, including state and PKCE challenge.- Returns:
- the URI
- Since:
- 1.0.0
-
getPendingAuthorization
Returns the pending authorization to seal or store.- Returns:
- pending authorization
- Since:
- 1.0.0
-
getPerFlowCookieName
Returns an optional per-flow cookie name. The suffix selects a cookie, not authenticates it.- Returns:
- cookie name
- Since:
- 1.0.0
-
toString
-