public abstract class AbstractAuthorizationResponse extends StateAwareAuthorizationCallback implements AuthorizationResponse
Modifier and Type | Field and Description |
---|---|
protected io.micronaut.http.HttpRequest<java.util.Map<java.lang.String,java.lang.Object>> |
request |
protected io.micronaut.core.convert.value.ConvertibleMultiValues<java.lang.String> |
responseData |
KEY_CODE, KEY_STATE
Constructor and Description |
---|
AbstractAuthorizationResponse(io.micronaut.http.HttpRequest<java.util.Map<java.lang.String,java.lang.Object>> request,
StateSerDes stateSerDes) |
Modifier and Type | Method and Description |
---|---|
io.micronaut.http.HttpRequest |
getCallbackRequest() |
java.lang.String |
getCode() |
protected java.lang.String |
getStateValue() |
getState
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getState
protected final io.micronaut.core.convert.value.ConvertibleMultiValues<java.lang.String> responseData
protected final io.micronaut.http.HttpRequest<java.util.Map<java.lang.String,java.lang.Object>> request
public AbstractAuthorizationResponse(@Parameter io.micronaut.http.HttpRequest<java.util.Map<java.lang.String,java.lang.Object>> request, StateSerDes stateSerDes)
request
- The requeststateSerDes
- State Serdesprotected java.lang.String getStateValue()
getStateValue
in class StateAwareAuthorizationCallback
@Nonnull public java.lang.String getCode()
getCode
in interface AuthorizationResponse
@Nonnull public io.micronaut.http.HttpRequest getCallbackRequest()
getCallbackRequest
in interface AuthorizationResponse