\Horde_Smtp_Password_Xoauth2

Generates an OAuth 2.0 authentication token as used in the Gmail XOAUTH2 authentication mechanism.

See: https://developers.google.com/gmail/xoauth2_protocol

Summary

Methods
Properties
Constants
__construct()
getPassword()
$access_token
$username
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$access_token

$access_token : string

Access token.

Type

string

$username

$username : string

Username.

Type

string

Methods

__construct()

__construct(string  $username, string  $access_token) 

Constructor.

Parameters

string $username

The username.

string $access_token

The access token.

getPassword()

getPassword() : string

Return the password to use for the server connection.

Returns

string —

The password.