\Pop\Mail\Transport\Smtp\AuthCramMd5Authenticator

CRAM-MD5 Auth class

Summary

Methods
Properties
Constants
getAuthKeyword()
authenticate()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
getResponse()
No private properties 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

getResponse()

getResponse(string  $secret, string  $challenge) : string

Generate a CRAM-MD5 response from a server challenge

Parameters

string $secret
string $challenge

Returns

string