PHP Класс AppserverIo\Appserver\ServletEngine\Security\Auth\Callback\SecurityAssociationHandler

Автор: Tim Wagner ([email protected])
Наследование: implements AppserverIo\Psr\Security\Auth\Callback\CallbackHandlerInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$credential AppserverIo\Lang\String The principal's credential.
$principal AppserverIo\Psr\Security\PrincipalInterface The principal instance.

Открытые методы

Метод Описание
__construct ( AppserverIo\Psr\Security\PrincipalInterface $principal, string $credential )
handle ( AppserverIo\Collections\CollectionInterface $callbacks ) : void Handles UsernameCallback and PasswordCallback types. A UsernameCallback name property is set to the Prinicpal->getName() value. A PasswordCallback password property is set to the credential value.

Описание методов

__construct() публичный Метод

public __construct ( AppserverIo\Psr\Security\PrincipalInterface $principal, string $credential )
$principal AppserverIo\Psr\Security\PrincipalInterface The principal instance
$credential string The principal's credential

handle() публичный Метод

Handles UsernameCallback and PasswordCallback types. A UsernameCallback name property is set to the Prinicpal->getName() value. A PasswordCallback password property is set to the credential value.
public handle ( AppserverIo\Collections\CollectionInterface $callbacks ) : void
$callbacks AppserverIo\Collections\CollectionInterface The collection with the callbacks
Результат void

Описание свойств

$credential защищенное свойство

The principal's credential.
protected String,AppserverIo\Lang $credential
Результат AppserverIo\Lang\String

$principal защищенное свойство

The principal instance.
protected PrincipalInterface,AppserverIo\Psr\Security $principal
Результат AppserverIo\Psr\Security\PrincipalInterface