Documentation

XOAuth2Authenticator
in package
implements AuthInterface

NTLM Auth class

Tags
category

Pop

author

xu.li & Chris Corbyn, from the SwiftMailer library https://github.com/swiftmailer/swiftmailer

see
https://developers.google.com/google-apps/gmail/xoauth2_protocol
version
4.0.0

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
bool

getAuthKeyword()

Get the name of the AUTH mechanism this Authenticator handles

public getAuthKeyword() : string
Return values
string

        
On this page

Search results