\CryptoManana\Core\Interfaces\ContainersEntityAuthenticationInterface

Interface EntityAuthenticationInterface - Interface specification for entity authentication.

Summary

Methods
Constants
authenticateEntity()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

authenticateEntity()

authenticateEntity(string  $correctPassphrase, string  $suppliedPassphrase) : boolean

Authenticate a user or a client entity.

Parameters

string $correctPassphrase

The correct passphrase information.

string $suppliedPassphrase

The supplied passphrase information.

Throws

\Exception

Validation errors.

Returns

boolean —

The identity authentication result.