Overview

Namespaces

  • PHP
  • ProgrammingAreHard
    • Arbiter
      • Domain
      • Model
  • Symfony
    • Component
      • Security
        • Acl
          • Exception
          • Model
          • Permission
        • Core
          • User

Classes

  • ChainUserProvider
  • InMemoryUserProvider
  • User
  • UserChecker

Interfaces

  • AdvancedUserInterface
  • EquatableInterface
  • UserCheckerInterface
  • UserInterface
  • UserProviderInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class ChainUserProvider

Chain User Provider.

This provider calls several leaf providers in a chain until one is able to handle the request.

Symfony\Component\Security\Core\User\ChainUserProvider implements Symfony\Component\Security\Core\User\UserProviderInterface
Namespace: Symfony\Component\Security\Core\User
Author: Johannes M. Schmitt <schmittjoh@gmail.com>
Located at ChainUserProvider.php
Methods summary
public
# __construct( array $providers )
public array
# getProviders( )

Returns

array
public Symfony\Component\Security\Core\User\UserInterface
# loadUserByUsername( string $username )

Loads the user for the given username.

Loads the user for the given username.

Parameters

$username
string
$username The username

Returns

Symfony\Component\Security\Core\User\UserInterface

Throws

Symfony\Component\Security\Core\Exception\UsernameNotFoundException
if the user is not found

Implementation of

Symfony\Component\Security\Core\User\UserProviderInterface::loadUserByUsername()
public Symfony\Component\Security\Core\User\UserInterface
# refreshUser( Symfony\Component\Security\Core\User\UserInterface $user )

Refreshes the user for the account interface.

Refreshes the user for the account interface.

Parameters

$user
Symfony\Component\Security\Core\User\UserInterface
$user

Returns

Symfony\Component\Security\Core\User\UserInterface

Throws

Symfony\Component\Security\Core\Exception\UnsupportedUserException
if the account is not supported

Implementation of

Symfony\Component\Security\Core\User\UserProviderInterface::refreshUser()
public boolean
# supportsClass( string $class )

Whether this provider supports the given user class

Whether this provider supports the given user class

Parameters

$class
string
$class

Returns

boolean

Implementation of

Symfony\Component\Security\Core\User\UserProviderInterface::supportsClass()
Arbiter API documentation generated by ApiGen 2.8.0