AppserverIo\Appserver\ServletEngine\Security\Auth\Callback\SecurityAssociationHandler::__construct PHP Method

__construct() public method

public __construct ( AppserverIo\Psr\Security\PrincipalInterface $principal, string $credential )
$principal AppserverIo\Psr\Security\PrincipalInterface The principal instance
$credential string The principal's credential
    public function __construct(PrincipalInterface $principal, string $credential)
    {
        $this->principal = $principal;
        $this->credential = $credential;
    }
SecurityAssociationHandler