use of uk.gov.ida.hub.policy.domain.state.IdpSelectedState in project verify-hub by alphagov.
the class IdpSelectedStateController method handleIdpSelected.
@Override
public void handleIdpSelected(String idpEntityId, String principalIpAddress, boolean registering, LevelOfAssurance requestedLoa) {
IdpSelectedState idpSelectedState = IdpSelector.buildIdpSelectedState(state, idpEntityId, registering, requestedLoa, transactionsConfigProxy, identityProvidersConfigProxy);
stateTransitionAction.transitionTo(idpSelectedState);
hubEventLogger.logIdpSelectedEvent(idpSelectedState, principalIpAddress);
}
use of uk.gov.ida.hub.policy.domain.state.IdpSelectedState in project verify-hub by alphagov.
the class RequesterErrorStateController method handleIdpSelected.
@Override
public void handleIdpSelected(String idpEntityId, String principalIpAddress, boolean registering, LevelOfAssurance requestedLoa) {
IdpSelectedState idpSelectedState = IdpSelector.buildIdpSelectedState(state, idpEntityId, registering, requestedLoa, transactionsConfigProxy, identityProvidersConfigProxy);
stateTransitionAction.transitionTo(idpSelectedState);
hubEventLogger.logIdpSelectedEvent(idpSelectedState, principalIpAddress);
}
Aggregations