AuthInterface
in
SMTP authenticator interface
Tags
Table of Contents
Methods
- authenticate() : bool
- Try to authenticate the user with $username and $password
- getAuthKeyword() : string
- Get the name of the AUTH mechanism this Authenticator handles
Methods
authenticate()
Try to authenticate the user with $username and $password
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