public class AuthenticationResponseHttpParamsAdapter extends AbstractAuthenticationResponse
HttpParameters
to AuthenticationResponse
.KEY_CODE, KEY_STATE
Constructor and Description |
---|
AuthenticationResponseHttpParamsAdapter(io.micronaut.http.HttpParameters httpParameters,
StateSerDes stateSerDes)
Constructs an adapter from
HttpParameters to ErrorResponse . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCode() |
protected java.lang.String |
getStateValue() |
getState
public AuthenticationResponseHttpParamsAdapter(io.micronaut.http.HttpParameters httpParameters, StateSerDes stateSerDes)
HttpParameters
to ErrorResponse
.httpParameters
- Http ParametersstateSerDes
- State Serdesprotected java.lang.String getStateValue()
getStateValue
in class AbstractAuthenticationResponse
@Nonnull public java.lang.String getCode()