XOAuth2Authenticator
in package
implements
AuthInterface
NTLM Auth class
Tags
Interfaces, Classes and Traits
- AuthInterface
- SMTP authenticator interface
Table of Contents
- authenticate() : bool
- Try to authenticate the user with $email and $token
- getAuthKeyword() : string
- Get the name of the AUTH mechanism this Authenticator handles
- constructXOAuth2Params() : string
- Construct the auth parameter
Methods
authenticate()
Try to authenticate the user with $email and $token
public
authenticate(AgentInterface $agent, string $email, string $token) : bool
Parameters
- $agent : AgentInterface
- $email : string
- $token : string
Return values
bool —getAuthKeyword()
Get the name of the AUTH mechanism this Authenticator handles
public
getAuthKeyword() : string
Return values
string —constructXOAuth2Params()
Construct the auth parameter
protected
constructXOAuth2Params(string $email, string $token) : string
Parameters
- $email : string
- $token : string