\Pop\Mail\Transport\Smtp\AuthXOAuth2Authenticator

NTLM Auth class

Summary

Methods
Properties
Constants
getAuthKeyword()
authenticate()
No public properties found
No constants found
constructXOAuth2Params()
No protected properties found
N/A
No private methods found
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  $email, string  $token) : boolean

Try to authenticate the user with $email and $token

Parameters

\Pop\Mail\Transport\Smtp\AgentInterface $agent
string $email
string $token

Returns

boolean

constructXOAuth2Params()

constructXOAuth2Params(string  $email, string  $token) : string

Construct the auth parameter

Parameters

string $email
string $token

Returns

string