PHP Class Neos\Flow\Security\Authentication\Provider\AbstractProvider

Inheritance: implements Neos\Flow\Security\Authentication\AuthenticationProviderInterface
显示文件 Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$name string
$options array

Public Methods

Method Description
__construct ( string $name, array $options = [] ) Constructor
canAuthenticate ( Neos\Flow\Security\Authentication\TokenInterface $authenticationToken ) : boolean Returns TRUE if the given token can be authenticated by this provider

Method Details

__construct() public method

Constructor
public __construct ( string $name, array $options = [] )
$name string The name of this authentication provider
$options array Additional configuration options

canAuthenticate() public method

Returns TRUE if the given token can be authenticated by this provider
public canAuthenticate ( Neos\Flow\Security\Authentication\TokenInterface $authenticationToken ) : boolean
$authenticationToken Neos\Flow\Security\Authentication\TokenInterface The token that should be authenticated
return boolean TRUE if the given token class can be authenticated by this provider

Property Details

$name protected_oe property

protected string $name
return string

$options protected_oe property

protected array $options
return array