프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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. |
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 | ||
리턴 | AppserverIo\Lang\String |