Class OidcRefresh
java.lang.Object
com.revetsec.oidc.OidcRefresh
Checked values from one refresh, released after any returned ID token passes signature, profile and original-session
continuity checks. An omitted ID token yields no new identity. The original reference remains a continuity
comparison value and is not proof of identity. Applications serialize concurrent refreshes and store tokens.
- Since:
- 1.0.0
- Author:
- Mark Allen
-
Method Summary
Modifier and TypeMethodDescriptionReturns the newly verified ID token, if the provider returned one.Returns the replacement refresh token, or the previous token when no replacement was returned.Returns the original reference for subsequent refresh comparisons.Returns the endpoint tokens.toString()Redacts tokens and continuity data.
-
Method Details
-
getTokens
Returns the endpoint tokens. The raw id_token is absent from its safe parameter view.- Returns:
- token response
- Since:
- 1.0.0
-
getIdToken
Returns the newly verified ID token, if the provider returned one. An absent value establishes no new identity.- Returns:
- verified ID token
- Since:
- 1.0.0
-
getRefreshToken
Returns the replacement refresh token, or the previous token when no replacement was returned.- Returns:
- refresh credential to retain securely
- Since:
- 1.0.0
-
getSessionReference
Returns the original reference for subsequent refresh comparisons. Parsing it never authenticates identity.- Returns:
- original continuity reference
- Since:
- 1.0.0
-
toString
-