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
3.6.0

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

Search results