XOAuth2Authenticator
in package
implements
AuthInterface
NTLM Auth class
Tags
Table of Contents
Interfaces
- AuthInterface
- SMTP authenticator interface
Methods
- 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 $username, string $password) : bool
Parameters
- $agent : AgentInterface
- $username : string
- $password : string
Return values
boolgetAuthKeyword()
Get the name of the AUTH mechanism this Authenticator handles
public
getAuthKeyword() : string
Return values
stringconstructXOAuth2Params()
Construct the auth parameter
protected
constructXOAuth2Params(string $email, string $token) : string
Parameters
- $email : string
- $token : string