\Pop\Mail\Transport\Smtp\AuthAuthInterface

SMTP authenticator interface

Summary

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

Methods

getAuthKeyword()

getAuthKeyword() : string

Get the name of the AUTH mechanism this Authenticator handles

Returns

string

authenticate()

authenticate(\Pop\Mail\Transport\Smtp\AgentInterface  $agent, string  $username, string  $password) : boolean

Try to authenticate the user with $username and $password

Parameters

\Pop\Mail\Transport\Smtp\AgentInterface $agent
string $username
string $password

Returns

boolean