Class StateAwareAuthorizationCallback
java.lang.Object
io.micronaut.security.oauth2.endpoint.authorization.response.StateAwareAuthorizationCallback
- All Implemented Interfaces:
StateAware
- Direct Known Subclasses:
AbstractAuthorizationResponse
,DefaultAuthorizationErrorResponse
@Internal
public abstract class StateAwareAuthorizationCallback
extends Object
implements StateAware
Base class to extend from that handles state retrieval and caching.
- Since:
- 1.2.0
- Author:
- James Kleeh
-
Constructor Details
-
StateAwareAuthorizationCallback
- Parameters:
stateSerDes
- The state serdes
-
-
Method Details
-
getStateValue
- Returns:
- The state string value
-
getState
- Specified by:
getState
in interfaceStateAware
- Returns:
- The state in the callback
-