Свойство | Type | Description | |
---|---|---|---|
$credential | AppserverIo\Lang\String | The principal's credential. | |
$principal | AppserverIo\Psr\Security\PrincipalInterface | The principal instance. |
Méthode | Description | |
---|---|---|
__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. |
public __construct ( AppserverIo\Psr\Security\PrincipalInterface $principal, string $credential ) | ||
$principal | AppserverIo\Psr\Security\PrincipalInterface | The principal instance |
$credential | string | The principal's credential |
protected String,AppserverIo\Lang $credential | ||
Résultat | AppserverIo\Lang\String |