public class AuthenticationResponseMapAdapter extends AbstractAuthenticationResponse
AuthenticationResponse
.KEY_CODE, KEY_STATE
Constructor and Description |
---|
AuthenticationResponseMapAdapter(java.util.Map<java.lang.String,java.lang.String> formFields,
StateSerDes stateSerDes)
Constructs an adapter from a Map to
AuthenticationResponse . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCode() |
java.lang.String |
getStateValue() |
getState
public AuthenticationResponseMapAdapter(java.util.Map<java.lang.String,java.lang.String> formFields, StateSerDes stateSerDes)
AuthenticationResponse
.formFields
- A Map encapsulating the form url encoded payload.stateSerDes
- The state serdes@Nullable public java.lang.String getStateValue()
getStateValue
in class AbstractAuthenticationResponse
@Nonnull public java.lang.String getCode()