Class StateAwareAuthorizationCallback
- java.lang.Object
-
- io.micronaut.security.oauth2.endpoint.authorization.response.StateAwareAuthorizationCallback
-
- Direct Known Subclasses:
AbstractAuthorizationResponse,DefaultAuthorizationErrorResponse
@Internal public abstract class StateAwareAuthorizationCallback extends java.lang.ObjectBase class to extend from that handles state retrieval and caching.- Since:
- 1.2.0
- Author:
- James Kleeh
-
-
Constructor Summary
Constructors Constructor Description StateAwareAuthorizationCallback(StateSerDes stateSerDes)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StategetState()protected abstract java.lang.StringgetStateValue()
-
-
-
Constructor Detail
-
StateAwareAuthorizationCallback
public StateAwareAuthorizationCallback(StateSerDes stateSerDes)
- Parameters:
stateSerDes- The state serdes
-
-
Method Detail
-
getStateValue
@Nullable protected abstract java.lang.String getStateValue()
- Returns:
- The state string value
-
getState
@Nullable public State getState()
- Returns:
- The state in the callback
-
-