DefaultChoiceListFactory::createListFromLoader()

ChoiceListInterface createListFromLoader(ChoiceLoaderInterface $loader, null|callable $value = null) Creates a choice list that is loaded with the given loader. Optionally, a callable can be passed for generating the choice values. The callable receives the choice as first and the array key as the second argument. Parameters ChoiceLoaderInterface $loader The choice loader null|callable $value The callable generating the choice values Return Value ChoiceListInterface The choice

DefaultChoiceListFactory::createListFromChoices()

ChoiceListInterface createListFromChoices(array|Traversable $choices, null|callable $value = null) Creates a choice list for the given choices. The choices should be passed in the values of the choices array. Optionally, a callable can be passed for generating the choice values. The callable receives the choice as first and the array key as the second argument. Parameters array|Traversable $choices The choices null|callable $value The callable generating the choice values Ret

DefaultChoiceListFactory

class DefaultChoiceListFactory implements ChoiceListFactoryInterface Default implementation of {@link ChoiceListFactoryInterface}. Methods ChoiceListInterface createListFromChoices(array|Traversable $choices, null|callable $value = null) Creates a choice list for the given choices. ChoiceListInterface createListFromLoader(ChoiceLoaderInterface $loader, null|callable $value = null) Creates a choice list that is loaded with the given loader. ChoiceListView createView(ChoiceListIn

DefaultAuthenticationSuccessHandler::setProviderKey()

setProviderKey(string $providerKey) Set the provider key. Parameters string $providerKey

DefaultAuthenticationSuccessHandler::setOptions()

setOptions(array $options) Sets the options. Parameters array $options An array of options

DefaultAuthenticationSuccessHandler::onAuthenticationSuccess()

Response onAuthenticationSuccess(Request $request, TokenInterface $token) This is called when an interactive authentication attempt succeeds. This is called by authentication listeners inheriting from AbstractAuthenticationListener. Parameters Request $request TokenInterface $token Return Value Response never null

DefaultAuthenticationSuccessHandler::getProviderKey()

string getProviderKey() Get the provider key. Return Value string

DefaultAuthenticationSuccessHandler::getOptions()

array getOptions() Gets the options. Return Value array An array of options

DefaultAuthenticationSuccessHandler

class DefaultAuthenticationSuccessHandler implements AuthenticationSuccessHandlerInterface Class with the default authentication success handling logic. Traits TargetPathTrait Trait to get (and set) the URL the user last visited before being forced to authenticate. Methods __construct(HttpUtils $httpUtils, array $options = array()) Constructor. Response onAuthenticationSuccess(Request $request, TokenInterface $token) This is called when an interactive authentication attempt su

DefaultAuthenticationFailureHandler::setOptions()

setOptions(array $options) Sets the options. Parameters array $options An array of options